Article 5DZGB OpenSSL Expecting: ANY PRIVATE KEY

OpenSSL Expecting: ANY PRIVATE KEY

by
Mark_667
from LinuxQuestions.org on (#5DZGB)
I have a key file, an end-entity and intermediate cert which I need to combine into a pfx. I've been trying the below but get:

Code:openssl pkcs12 -export -out combined.pfx -inkey private-key.key -in EE-cert.crtQuote:
unable to load private key
13804:error:0909006C:PEM routines:get_name:no start line:crypto\pem\pem_lib.c:745:Expecting: ANY PRIVATE KEY
The key file is of the format:
Quote:
-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----
What does OpenSSL not like about the key?latest?d=yIl2AUoC8zA latest?i=HbB1w_k1rec:T5xxYRqoXos:F7zBnMy latest?i=HbB1w_k1rec:T5xxYRqoXos:V_sGLiP latest?d=qj6IDK7rITs latest?i=HbB1w_k1rec:T5xxYRqoXos:gIN9vFwHbB1w_k1rec
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments