我正在尝试更新 AWS 上的 EC2 实例的通配符证书。这些服务器所属的服务由单个服务器和AWS ELB后面的一组服务器组成。
证书已在单个服务器上成功更新和验证。
对于从 ELB 用于 AutoScaling 的镜像中提取的实例也是如此。
但是,当尝试将新证书添加到负载平衡器时,我收到上述错误。我确信证书是正确的并且是 PEM 格式。我首先尝试通过 Web 控制台,然后使用 aws Target 命令行工具,得到相同的结果。
最近有人遇到过类似的问题吗?
最佳答案
The AWS CLI requires file://
prefix for local files 。例如file://private.key
、file://cert_file
等
关于amazon-web-services - AWS : "Unable to parse certificate. Please ensure the certificate is in PEM format.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22149989/