Getting "Could not validate the certificate with the certificate chain" when trying to use the newly generated certificate #1507
Unanswered
marius-locomotion
asked this question in
Q&A
Replies: 2 comments
-
I am getting the same error when I try uploading the cert manually, from AWS portal. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think something may be wrong with the key, it seems very short.
|
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Welcome
What did you expect to see?
I generated Let'sEncrypt certificate using lego and I tried uploading it to AWS certificate manager.
Before trying to upload, I removed the 2 intermediate certs from the main cert file, keeping just the domain certificate.
I expected for the upload to work correctly
What did you see instead?
However, I get this error:
"An error occurred (ValidationException) when calling the ImportCertificate operation: Could not validate the certificate with the certificate chain."
How do you use lego?
Binary
Reproduction steps
.lego/certificates/mydomain.org.crt
I have the same issue when I use AWS as DNS provider, with another domain.
So I think there is something I must be doing wrong here.
Can you please help?
Version of lego
lego version 4.5.3 linux/amd64
Logs
An error occurred (ValidationException) when calling the ImportCertificate operation: Could not validate the certificate with the certificate chain.
Go environment (if applicable)
Beta Was this translation helpful? Give feedback.
All reactions