-
Notifications
You must be signed in to change notification settings - Fork 182
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
[BUG] ACME tool not able to get new certificates #307
Comments
It seems to really be an issue with the ca certificates bundled within the docker image beeing outdated (or something else related to them). I also see the same error ("certificate signed by unknown authority") when testing my email settings. My mail server also uses TLS. |
I also faced the same issue. Docker logs Can certificates be updated on start of the container, and/or periodic? |
@PassiveLemon would you mind take a look at this at your convenience? Thanks! |
Hmm this is interesting. Did this work on the previous Alpine based images? |
@PassiveLemon The issue didn't exist in 3.1.0 but exists within 3.1.1r2 (maybe other versions between 3.1.0 and 3.1.1r2, but there are no other versions on dockerhub). Due to the fact, that the same error message (unknown authority) is also causing an error when trying to send a test email via my mailserver using tls, I could verify this. So it must be some change with the latest image 3.1.1r2 or at least later 3.1.0. |
I can recreate this issue, I will look into it |
I've just fresh-installed Zoraxy with docker-compose, and i get this error. |
Describe the bug
Trying to create a wildcard certificate within zoraxy for my domain using dns challenge with cloudflare failes with latest version. In the past, I was able to perform this task without problems.
During the attempt, I receive the following log entries from zoraxy:
As far as I can say, it looks like the local request from zoraxy doesn't trust the delivered (ca-) certificate of https://acme-v02.api.letsencrypt.org/directory anymore. So I checked the provided certificate from this page and indeed, it has been reissued on 4th of september this year.
After some research, I found this article:
https://developers.cloudflare.com/ssl/reference/migration-guides/lets-encrypt-chain/#lets-encrypt-chain-update
I'm not really sure if this is related to my actual issue, but the following block got my attention:
"The expiration of the cross-signed chain will primarily affect older devices, for example Android 7.0 and earlier. Systems that solely rely on the cross-signed chain, lacking the ISRG Root X1 chain in their trust store, will also be affected."
Might it be possible that we don't have this latest root certificate within the certificate store of the current docker image and thats causing the call to the acme directory to fail because of an untrusted tls connection due to an not trusted (new) root ca?
To Reproduce
Steps to reproduce the behavior:
Use ACME tool within zoraxy and try to create an (wildcard-)certificate from letsencrypt using dns challenge.
Expected behavior
Certificates are generated and deployed inside zoraxy successfully and automatic.
The text was updated successfully, but these errors were encountered: