What to Do if OpenSSL Does Not Find Your Private Key
As we were trying to combine a private key with a certificate into a pkcs12 file, we got this OpenSSL error:
1 |
openssl pkcs12 -export -name "Domain" -out Domain.pfx -inkey private.key -in Domain.crt |
unable to load private key 11528:error:0909006C:PEM routines:get_name:no start line:crypto\pem\pem_lib.c:745:Expecting: ANY PRIVATE KEY The file for the private key contained a private key, but OpenSSL could somehow not find it. As it turns out, …