SSL certificate obtained invalid? #6
Replies: 2 comments
-
|
Your code uses WellKnownServers.LetsEncryptStagingV2 as the CA directory URL, that means the cert you get will be from the Let's Encrypt Staging API, which is a fake CA with a test API. Their root cert will not be trusted by any operating system. Try WellKnownServers.LetsEncryptV2 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thank you! The problem perfectly solved. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use the following function to simply get an SSL certificate for a website. Everything seems to run smoothly, and I can obtain the certificate chain. However, after adding the private key and certificate to the website, the browser prompts that the certificate is invalid with "NET::ERR_CERT_AUTHORITY_INVALID" error.
I don't have much knowledge about the Acme protocol, so I'm really not sure what the reason could be.
Beta Was this translation helpful? Give feedback.
All reactions