amazon-web-services - AWS : "Unable to parse certificate. Please ensure the certificate is in PEM format."

标签 amazon-web-services ssl-certificate amazon-elb

我正在尝试更新 AWS 上的 EC2 实例的通配符证书。这些服务器所属的服务由单个服务器和AWS ELB后面的一组服务器组成。

证书已在单个服务器上成功更新和验证。

对于从 ELB 用于 AutoScaling 的镜像中提取的实例也是如此。

但是,当尝试将新证书添加到负载平衡器时,我收到上述错误。我确信证书是正确的并且是 PEM 格式。我首先尝试通过 Web 控制台,然后使用 aws Target 命令行工具,得到相同的结果。

最近有人遇到过类似的问题吗?

最佳答案

The AWS CLI requires file:// prefix for local files 。例如file://private.keyfile://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/

相关文章:

c# - 判断证书是个人证书还是根证书的编程方式

wordpress - 带有嵌套 WordPress 博客的 ELB 后面的 EC2 上的 SSL 问题

ssl - AWS ELB HTTPS 端口转发设置

python - 如何将整个目录上传到 S3?

python - AWS lambda : Python function with Pandas dependency

mongodb - 使用 MongoDB 64b 2.x 的 aws (m1.large) 延迟

ssl - Heroku UCC SSL 证书不工作

SSL 证书 : How to deal with Common Name and Subject Alternative Name?

ios - 我如何列出我的 AWS 账户中的所有 ELB

amazon-web-services - aws cli elb/elbv2 - 如何按 DNSName 过滤负载均衡器?