@echo off :: Extracting Certificate and Private Key Files from a .pfx File Set PFXFileName=mycert openssl pkcs12 -in %PFXFileName%.pfx -nocerts -out %PFXFileName%.pem -nodes openssl pkcs12 -in %PFXFileName%.pfx -nokeys -out %PFXFileName%.crt openssl rsa -in %PFXFileName%.pem -out %PFXFileName%.key
Comments