SyntaxFix
Write A Post
Hire A Developer
Questions
In our case what caused the issue is that the private key we were trying to use was encrypted with a passphrase.
We had to decrypt the private key using ssh-keygen -p before we could use the private key with the openssl command line tool.
ssh-keygen -p