1. 轉(zhuǎn)換PEM 證書PEM to DERopenssl x509 -outform der -in certificate.pem -out certificate.der PEM to P7B openssl crl2pkcs7 -nocrl -certfile certificate.cer -out certificate.p7b -certfile CACert.cer PEM to PFX openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt 2. 轉(zhuǎn)換P7B 證書P7B to PEMopenssl pkcs7 -print_certs -in certificate.p7b -out certificate.cerP7B to PFX openssl pkcs7 -print_certs -in certificate.p7b -out certificate.cer openssl pkcs12 -export -in certificate.cer -inkey privateKey.key -out certificate.pfx -certfile CACert.cer 3. 轉(zhuǎn)換PFX 證書PFX to PEMopenssl pkcs12 -in certificate.pfx -out certificate.cer -nodes konwersja poprze OpenSSL 4. 轉(zhuǎn)換DER 證書DER to PEMopenssl x509 -inform der -in certificate.cer -out certificate.pem |
|