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.94k stars 181 forks source link

Fix err message when storing cert in cert_der cache #299

Closed Shivraj0 closed 2 months ago

Shivraj0 commented 2 months ago

When convert_to_der_and_cache is called, error messages are not actuals from what is set from convert_to_der_and_cache if anything around that method fails.

Gracefully handled error message from function where convert_to_der_and_cache is getting called.