-
Notifications
You must be signed in to change notification settings - Fork 3k
Internal error while getting Lets Encrypt certificate / SQlite database #584
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
Comments
More information : After manually editing the expiration date of the generated certificate on my SQlite database file (to make it match the real expiration date of the certificate signed by Let's Encrypt), everything goes well. It seems that the issue appears when nginx-proxy-manager tries to update the expiration date on the database after the certificate is generated, when using an SQlite database file (didn't tested with a mySQL one). |
Apparently, it's caused by
|
I can confirm, that I also have the problem with It worked properly before start using SQLITE. Related: #557 |
I can confirm as well showing the same error caused by FROM_UNIXTIME |
Same Problem for me. |
Same here. |
It looks like this may be fixed in #560 |
I can confirm this is fixed in v2.5.0 🚀 |
I dont use certs, probably this is the reason why I didn't catch that... Yes the problem is the sql function (sqlite is really limited and sonetimes dumb), and the linked PR is the fix for this (I did the same with the current time function anno). |
@jc21 i think we can close this 👍 |
also have the same issue |
@docfactory37 The issue was fixed in v2.5.0 |
Thank you everyone. I've been running on |
Agreed. I've also been using SQlite without any issues. |
I confirm, it's now working properly :-) |
When trying to get a new certificate from Let's Encrypt, I get an "Internal Error" message.
Using latest docker image (2.4.0).
By looking at the /var/log/letsencrypt/letsencrypt.log file, I can see that the challenges has been successfully completed :
The certificate is then displayed on the certificates list as expired with an expiration date being the current day.
By looking at the certificate file on /etc/letsencrypt/live/..., I can see the certificate being valid :
[root@docker-nginx:/etc/letsencrypt/live/npm-2]# openssl x509 -in cert.pem -text Certificate: Data: Version: 3 (0x2) Serial Number: <removed> Signature Algorithm: sha256WithRSAEncryption Issuer: C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3 Validity Not Before: Aug 26 20:54:16 2020 GMT Not After : Nov 24 20:54:16 2020 GMT
The text was updated successfully, but these errors were encountered: