lua-resty-letsencrypt icon indicating copy to clipboard operation
lua-resty-letsencrypt copied to clipboard

Lua script for Nginx to automatically get certificates from LetsEncrypt CA

Results 4 lua-resty-letsencrypt issues
Sort by recently updated
recently updated
newest added

Is it possible to fail a request if the fallback cert is to be served e.g. return 404 as opposed to serving the self-signed cert?

Type of `err` was changed in https://github.com/torhve/lua-resty-letsencrypt/commit/5abb0d2a0fab34ca00e78279a5f4061cbc3646b6, but [this line](https://github.com/torhve/lua-resty-letsencrypt/blob/5abb0d2a0fab34ca00e78279a5f4061cbc3646b6/letsencrypt.lua#L671) has not been changed. error log says: ``` [lua] letsencrypt.lua:62: log(): ___***___: Unable to generate cert: letsencrypt.lua:671: attempt to call...

As discovered in #2 we are incorrectly handling the new-authz request - we get an HTTP 405 response back right now - but possibly only in some circumstances - https://github.com/torhve/lua-resty-letsencrypt/blob/29a0a8511e50397b0c4df33e0302ca4ec154bee9/letsencrypt.lua#L670...

Hello, There is a typo in sample conf: ssl_certificate_key /etc/ssl/letsencrypt-fa**lll**back.key;