Some applications require you to provide SSL in .pem file format. This can be easily created your own by combining SSL cerifcate provided by your SSL provider.
Open a text file, paste content of your SSL certificate in following order.
- Private key – yourdomainname.key
- The Primary Certificate – yourdomainname.crt
- The Intermediate Certificate – COMODORSADomainValidationSecureServerCA.crt
- The Root Certificate – COMODORSAAddTrustCA.crt
On a Cpanel server, i get the Cert file location from httpd.conf, then used following command to create .pem file
cat /var/cpanel/ssl/installed/certs/ehcp1_yboby_cf_c6de0_47a9f_1512431999_401807c229ea59bda3e602f2bcfff4cc.crt > ~/ssl-cert.pem echo >> ~/ssl-cert.pem cat /var/cpanel/ssl/installed/cabundles/cPanel_Inc__681917bfb43af6b642178607e0b36ccc_1747526399.cabundle >> ~/ssl-cert.pem echo >> ~/ssl-cert.pem
The SSL paths here are just an example, you have to use your domain’s certificate paths. If you have cert from the provider, just cut and paste.