diff options
-rw-r--r-- | openssl-model.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl-model.lua b/openssl-model.lua index 5998c98..5f4debd 100644 --- a/openssl-model.lua +++ b/openssl-model.lua @@ -469,7 +469,7 @@ approverequest = function(request) -- Add the serial number to the end of the cert file name local serialpath = getconfigentry(certtype, "serial") local serialfile = fs.read_file(serialpath) or "" - local serial = string.match(serialfile, "%x%x") + local serial = string.match(serialfile, "%x+") local certname = certdir..request.."."..serial -- Now, sign the certificate |