Page 1 of 1

HOW TO Set up SSL Private Key for Invalid Key Error

PostPosted: Wed Mar 02, 2016 5:22 pm
by straywookie
Hi, I wanted to post this because it took me forever to figure this out and I only saw one post that didn't answer it directly.
If you're trying to connect using ssl and you keep getting invalid key errors you need a pem file, not a pub or rsa, ect. i used openssl and created it like so on linux command line:
$openssl rsa -in id_rsa -out private.pem
You want to do this inside of your .ssh directory, usually in ~/.ssh on linux.
It will prompt you for your passphrase and generate the pem file.
I hope this helps someone.