【发布时间】:2015-02-02 10:15:25
【问题描述】:
我刚刚获得了 Thawte 123 SSL 证书,但在将其上传到 AWS 以将其与 CloudFront 一起用作自定义 SNI SSL 证书时遇到问题。 AWS 拒绝 CA 链。我将Thawte Intermediate CA bundle 用于SSL Web Server and Thawte Wildcard certificates。
为了能够使用我的私钥,我将其转换为 RSA 密钥:
openssl rsa -in private.key -out private-rsa-key.pem`
并尝试通过以下方式上传:
aws iam upload-server-certificate --server-certificate-name example.com-certificate --certificate-body file://certificate.pem --private-key file://private.pem --certificate-chain https://search.thawte.com/library/VERISIGN/ALL_OTHER/thawte%20ca/SSL_CA_Bundle.pem --path /cloudfront/example.com/
导致以下错误:
A client error (MalformedCertificate) occurred when calling the UploadServerCertificate operation: Unable to validate certificate chain. The certificate chain must start with the immediate signing certificate, followed by any intermediaries in order. The index within the chain of the invalid certificate is: 0
即使将thawte_Primary_Root_CA.pem 作为第一个即时签名证书插入到证书链中,也不能解决问题。
A client error (MalformedCertificate) occurred when calling the UploadServerCertificate operation: Unable to validate certificate chain. The certificate chain must start with the immediate signing certificate, followed by any intermediaries in order. The index within the chain of the invalid certificate is: 1
Thawte CA 链是否与 AWS 不兼容?
【问题讨论】:
标签: ssl amazon-web-services https amazon-cloudfront thawte