Kamis, 12 September 2019

How to create .pem certificate file from .cer and .key file

  Tidak ada komentar
Check your certificate file
[[email protected] ~]# ls
CABundle.crt         Key wildcard_wachid_go_id_2019-2021.key
CA-Intermediate.cer  PFX wildcard_wachid_go_id_2019-2021.pfx
CA-Root.cer          wildcard_wachid_go_id.cer
[[email protected] ~]# 
Running following command
[[email protected] ~]#  openssl pkcs12 -export -in wildcard_wachid_go_id.cer -inkey wildcard_wachid_go_id_2019-2021.key -out hostname.p12
Enter Export Password:
Verifying - Enter Export Password:
[[email protected] ~]# openssl pkcs12 -in hostname.p12 -nodes -out wachidserver.pem
Enter Import Password:
MAC verified OK
[[email protected] ~]#

Tidak ada komentar :

Posting Komentar