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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With