OpenSSL error while converting .p12 to .cer
openssl pkcs12 -nokeys -clcerts -in <filename.p12> -out <filename.cer>
Enter Import Password:
Error outputting keys and certificates
4087C8485B7F0000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global default library context, Algorithm (RC2-40-CBC : 0), Properties ()
Try adding -legacy:
openssl pkcs12 -nokeys -clcerts -in <filename.p12> -out <filename.cer> -legacy
Leave a Reply