- Extract the original private key and public certificate from the incompatible PKCS#12 format file into a traditional encrypted PEM format
- Generate a compatible PKCS#12 file
- <Encrypted PEM Filename> the encrypted PEM format file generated above.
- <PKCS#12 Filename> is the output filename of the pkcs#12 format file
- (Optional) Delete unneeded files. At this point, you can delete the temporary unencrypted PEM file.
openssl pkcs12 -in <PKCS#12 Filename> -out <Encrypted PEM Filename>
openssl pkcs12 -keypbe PBE-SHA1-3DES -certpbe PBE-SHA1-3DES -export -in <Encrypted PEM Filename> -out <PKCS#12 Filename>
Where:
No comments:
Post a Comment