dynamic cert mode should understand domain with trailing dot
This commit is contained in:
parent
edf2b03c22
commit
0e5913310d
2 changed files with 17 additions and 1 deletions
|
|
@ -28,7 +28,9 @@ local function set_pem_cert_key(pem_cert_key)
|
|||
end
|
||||
end
|
||||
|
||||
local function get_pem_cert_key(hostname)
|
||||
local function get_pem_cert_key(raw_hostname)
|
||||
local hostname = re_sub(raw_hostname, "\\.$", "", "jo")
|
||||
|
||||
local pem_cert_key = configuration.get_pem_cert_key(hostname)
|
||||
if pem_cert_key then
|
||||
return pem_cert_key
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue