无法 select 将证书导入 AWS 负载均衡器侦听器

Unable to select imported certificate into AWS load balancer listener

出于某种原因,当我将证书添加到我的 EC2 实例的 HTTPS 侦听器时,证书的下拉菜单 select 没有显示。 在 ACM 中,它是“Issued”,所以我不明白为什么它不应该出现。

HTTPS 侦听器

这是 ACM 控制台,显示我的证书已颁发

根据评论。

无法在 ALB 上的 ACM 中使用导入的 SSL 证书的原因是它太长。导入证书是 RSA 4096-bit,但是,ALB(和其他 AWS 服务)与 2048-bit RSA (RSA_2048)1024-bit RSA (RSA_1024) 兼容,如以下所述:

The certificate imported into ACM is using an algorithm other that 1024-bit RSA or 2048-bit RSA.

possible solution 是为这些证书使用 IAM:

ACM supports RSA certificates with a 4096 key length and EC certificates. However, you cannot install these certificates on your load balancer through integration with ACM. You must upload these certificates to IAM in order to use them with your load balancer.