Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 894
Usama Abbas Avatar asked Nov 26 '25 00:11

Usama Abbas


1 Answers

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.

like image 59
gofestive Avatar answered Nov 28 '25 16:11

gofestive



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!