Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to generate the Certificate Chain for AWS load balancer?

I'm using Amazon Load Balancer with SSL configuration. everything when fine except on Firefox that show the exception page. It looks not self to user.

This article suggest to put the Certificate Chain to the configuration section.

enter image description here

My SSL provider is Comodo (InstantSSL). They provide two files .crt and .ca-bundle only.

How can i generate the Certificate Chain?

like image 200
Jirapong Avatar asked Oct 24 '12 07:10

Jirapong


1 Answers

You can cat the .crt and the .ca-bundle file together. That's what we wound up doing using a service called OpDemand, which is backed by AWS.

cat certfile.crt bundle.ca-bundle >> chain.crt

chain.crt should be the file you're looking for. Also, the order is important. The certificate.crt file has to be first.

like image 152
Michael D Johnson Avatar answered Oct 14 '22 02:10

Michael D Johnson