-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to extract expiry date from cert #195
Comments
@im-erikjohansson: Sorry for the trouble! Can you let me know what operating system you're on, and what |
Oh, actually I see this might be related to the Alpine/BusyBox version of |
Thanks for the fast reply @GUI Upgrading to the latest release of Openresty will give me BusyBox v1.29.3 still gives the same error it seems.
Your proposed fix of adding coreutils seems to do the trick:
|
Good deal, thanks for confirming. For more context, if other people are running into this, I don't believe this error in the error log should necessarily affect the primary behavior of lua-resty-auto-ssl. The error may keep showing up, since we'll keep trying to extract and store this expiry date from existing certs, but I think most everything should continue working despite this error. It actually looks like we added a dependency on the GNU version of I believe this will also be an issue on FreeBSD or other BSDs, due to the different behavior of Anyway, while installing Thanks for reporting this! |
Handle parsing the OpenSSL expiry times ourselves, since the BusyBox and and BSD versions of the "date" command don't support parsing like the GNU version does. #195
v0.13.1 is now out and should work in Alpine without the |
Thank you very much for the release of 0.13.0, awesome work! However, I´m experiencing some issues after the upgrade to 0.13.0. I'm using letsencrypt.
I ran the command manualy on the server and got the same error:
According to the man-page for Date it only recognizes these time formats:
I don't know, perhaps this is an issue only with letsencrypt certs?
The text was updated successfully, but these errors were encountered: