auto-ssl / lua-resty-auto-ssl

On the fly (and free) SSL registration and renewal inside OpenResty/nginx with Let's Encrypt.
MIT License
1.93k stars 182 forks source link

Forces the domain to be lowercase #259

Open heuri opened 3 years ago

heuri commented 3 years ago

Fixes problems with non lower case SNI requests - e.g. https://LuA-ReStY-AuTo-SsL.TlD

Solves this error:

issue_cert(): auto-ssl: issuing new certificate failed: dehydrated succeeded, but no certs present
auto-ssl: could not get certificate for LuA-ReStY-AuTo-SsL.TlD - using fallback - failed to get or issue certificate

Reproduce:

curl -i https://LuA-ReStY-AuTo-SsL.TlD