Convert ssl cer to pfx format

Last modified 1 year ago
Danger icon
The last modifications of this post were around 1 year ago, some information may be outdated!

Summary

Azure requires pfx formatted SSL certificates. Use ssl tool to convert cer to pfx. Requires knowledge of password.

Code

openssl pkcs12 -export -out final_name.pfx -inkey private_key.key -in original_certificate.crt