Get the App
SLTechnology News&Howtos  ›  Network Security  › 

PFX certificate split private key and certificate

Shulou Source: shulou.com Published: 2022-06-01 07:19:07 10月03日 Update

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

Tags: Certificate directory command password file user interface input disk root Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple vpn Xiaomi Redmi Linux