EC2 ELB complains about “Invalid Private Key”


AllCloud Blog:
Cloud Insights and Innovation

When setting up SSL on ELB you may get an error “Error: Invalid Private Key” this happens because your SSL private key is in RSA format while ELB expects it in PEM format.

All you need is to convert your existing key:

openssl rsa -in my_ssl.key -outform PEM -out my_ssl.key.pem

As always, Enjoy !

Lahav Savir

Founder and CTO, Cloud Platforms

Read more posts by Lahav Savir

Copyright 2021 | AllCloud | All Rights Reserved