HOWTO: Convert a .CER file to .CRT

Problem

I'm installing my own SSL certificate on my CloudBolt server. I have a CER certificate file, but when I copy it to he CloudBolt server and restart httpd, I get a start-up error.

Solution

Apache expects a .CRT to be a X.509 certificate in base64 encoded format. To covert the binary CER file, copy the CER file to the CloudBolt server and run the following command:

$ openssl x509 -inform DER -in ssl_certificate.cer -out ssl_certificate.crt

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.