Add or Change a PFX Passphrase with OpenSSL

Add or Change a PFX Passphrase with OpenSSL
Ever needed to add or change a passphrase on a PFX file? Here ya go
Using OpenSSL Export the PFX to PEM
openssl pkcs12 -in cert.pfx -out temp.pem -nodes
Leave passphrase blank here (unless one was previously set)
Convert the PEM back to PFX, this time specifying a password
openssl pkcs12 -export -out cert.pfx -in temp.pem
Enter Export Passord:
Verifying - Enter Export Password:
Enter your new passphrase and you’re done