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:
The key file is of the format:
Quote:
What does OpenSSL not like about the key?


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 |
Quote:
-----BEGIN PRIVATE KEY----- -----END PRIVATE KEY----- |