OpenSSL Convert PEM
https://www.sslshopper.com/ssl-converter.html
Convert PEM to DER
openssl x509 -outform der -in certificate.pem -out certificate.der
Convert PEM to P7B
openssl crl2pkcs7 -nocrl -certfile certificate.cer -out certificate.p7b -certfile CACert.cer
Convert PEM to PFX
openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt
OpenSSL Convert DER
Convert DER to PEM
openssl x509 -inform der -in certificate.cer -out certificate.pem
OpenSSL Convert P7B
Convert P7B to PEM
openssl pkcs7 -print_certs -in certificate.p7b -out certificate.cer
Convert P7B 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
OpenSSL Convert PFX
Convert PFX to PEM
openssl pkcs12 -in certificate.pfx -out certificate.cer -nodes
If you need to convert a Java Keystore file to a different format, it usually easier to create a new private key and certificates but it is possible to convert a Java Keystore to PEM format.
'프로그래밍 > Server' 카테고리의 다른 글
포트 오픈상태 확인 사이트 (0) | 2017.01.18 |
---|---|
윈도우 호스트(hosts) 파일 변경하기 (0) | 2015.10.07 |
윈도우 최대절전모드 끄기 & 배치파일(.bat)을 항상 관리자권한으로 실행하기 (0) | 2015.08.04 |
[Linux] Install Ubuntu 13.10 (0) | 2013.12.23 |
[Linux] How To Dual Boot OS X and Linux (0) | 2013.12.23 |