linuxquestions.org linuxquestions.org

OpenSSL Expecting: ANY PRIVATE KEY

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.crt Quote: 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...