We are running CentOS 6.7 with apache and a self-signed certificate.
The certificate had an error in the name (ex. monter.com when it should be monster.com) and it also expired. It is located in the ca.crt file and I tried renewing it and correcting the typo, but when I restart apache, it fails.

Can anyone tell me how to renew that certificate, preferably with the correct server name?

Or can someone tell me how to remove that certificate?

Thanks

Mike

8 Spice ups

Please follow the guide below:

You will need to create a new SSL Certificate request and also the Key for the SSL Certificate then change the Apache settings to have the new SSL Certificate. My best recommendation would be to install Let’s Encrypt SSL certificates as per below:

3 Spice ups

While creating a self signed certificate, you will have a server.key and server.crt file. OS has the ca.crt file, and there is no self certificate information there. On your existing apache certificate section find out “SSLCertificateFile” and “SSLCertificateKeyFile” section and replace with newly created self signed certificate server.crt and server.key files.

For creating self singed certificate using OpenSSL you can follow the below url and change the fqdn domain name as monster.com