Amazon’s SSL cert configuration for their load balancer (ELB) requires the private key be in a particular format. Here is the how to!
This guide follows this name scheme:
example.com.key -> the private key
example.com.crt -> public cert issued by the SSL cert provider
intermediate.crt -> intermediate cert issued by the SSL cert provider
First, run the following command to create an RSA private key as required by AWS ELB:
$ openssl rsa -in example.com.key -outform PEM -out example.com.AWS.pem
Next, paste in the following to the AWS ELB ssl certificate config, parts 1, 2, and 3 as shown in the screenshot. The private key to be used is the new .pem key generated above.
1. example.com.AWS.pem (Private Key)
2. example.com.crt (Public Key Certificate)
3. intermediate.crt (Certificate Chain)