我正在尝试使用以下代码针对证书添加证书侦听器
const listenerBody = {
Certificates: [
{
CertificateArn: certificate.certificate_arn
},
],
ListenerArn: httpsListnerArn
}
elbv2.addListenerCertificates(listenerBody, async function (err, data) {}
Run Code Online (Sandbox Code Playgroud)
但我收到以下错误
UnsupportedCertificate:证书“arn:aws:acm:us-west-2:557863456534:certificate/7accec1c-57df-4c6f-a5c5-3f76b1fa9f92”必须具有完全限定的域名、支持的签名和支持的密钥大小。