PFX certificate split private key and certificate
1. First install Win32OpenSSL_Light-1_1_0g.exe, which is installed to the root directory of disk C by default.
two。 Paste the PFX certificate under C:\ OpenSSL-Win32\ bin
3. Export the certificate (enter the CMD command interface and enter the bin directory of openssl)
Openssl pkcs12-in root user signature .pfx (original certificate)-clcerts-nokeys-out cert.pem (certificate name)
Enter the certificate password
Enter the bin directory to view the certificate file
4. Export the private key (enter the CMD command interface and enter the bin directory of openssl)
Openssl pkcs12-in root user signature. PFX-nokeys-out key.pem
Enter the certificate password
Enter the bin directory to view the private key file