'Certificate must have a fully-qualified domain name, a supported signature, and a supported key size
I am trying to add certificate listner against a certificate using following code
const listenerBody = {
Certificates: [
{
CertificateArn: certificate.certificate_arn
},
],
ListenerArn: httpsListnerArn
}
elbv2.addListenerCertificates(listenerBody, async function (err, data) {}
But I am getting following error
UnsupportedCertificate: The certificate 'arn:aws:acm:us-west-2:557863456534:certificate/7accec1c-57df-4c6f-a5c5-3f76b1fa9f92' must have a fully-qualified domain name, a supported signature, and a supported key size.
Solution 1:[1]
Error messages can be a bit misleading at times. You may receive this error if the certificate is still pending validation. If the certificate was recently added to AWS Certificate Manager, make sure that it has been validated. Certificates will not be available for use unless you are able to validate that you own or control the domain(s). You can validate ownership using email or DNS.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | gofestive |