EC2 Load Balancer - installing CA Bundle SSL / intermediate certificate

╄→гoц情女王★ 提交于 2020-01-03 19:43:14

问题


I am using the EC2 Load Balancer to handle HTTPS requests. For Chrome & Safari, having the Load Balancer Protocol set HTTPs at Port 443 with the the SSL cert handles most traffic correctly. HTTPS requests from Safari & Chrome are fine. However in Firefox, I get the connection is insecure "(Error code: sec_error_unknown_issuer)." In checking with a cert checker, I get

The certificate is not signed by a trusted authority (checking against Mozilla's root store). If you bought the certificate from a trusted authority, you probably just need to install one or more Intermediate certificates.

In talking with my cert provider, the information I got was :

As we can see certificate has been installed improperly at the server. There is no CA bundle at the server that is why browsers may show warning messages.

How do you install a CA Bundle using the Load Balancer?


回答1:


The solution is to add the ca_bundle to your load_balancer under "Certificate Chain"




回答2:


That depends on how you are creating the ELB (Elastic Load Balancer).

If you are creating it from the AWS Console, then, when you create the ELB you can create a new SSL sercificate and, when promted, and as @Emile said, you have to specify the contents of the provided "CA Bundle" under the "Certificate Chain" field.

If you are creating it from the command line or using the API, then when you create the SSL certificate you have to specify the "CA Bundle" contents in the "Certificate Chain" parameter.

Right now, what you probably have to do is to create a new ELB specifying the right paramenters, modify your DNS accordingly and once the change has been applied, delete the old load balancer.




回答3:


First you'll need to obtain a copy of the appropriate certificate bundle from your certificate authority.

Then you'll need to update the SSL certificate on your AWS ELB. Select "Upload a new SSL Certificate" from the ELB Select Certificate window. Paste your current private and public certificate keys into the appropriate fields and then paste the certificate bundle into the "Certificate Chain" field.



来源:https://stackoverflow.com/questions/12111829/ec2-load-balancer-installing-ca-bundle-ssl-intermediate-certificate

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!