How to create .pem certificate file from .cer and .key file
Check your certificate file
[root@localhost ~]# 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
[root@localhost ~]#
Running following command
[root@localhost ~]# 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:
[root@localhost ~]# openssl pkcs12 -in hostname.p12 -nodes -out wachidserver.pem
Enter Import Password:
MAC verified OK
[root@localhost ~]#
Tidak ada komentar :
Posting Komentar