6
Jan

Certwatch errors resolved

   Posted by: RobPatton   in Linux/Hosting

I have been getting daily errors from certwatch, and I’ve just been ignoring them.  Today I decided not to, any more.

 

################# SSL Certificate Warning ################

Certificate for hostname ‘webhost.robpatton.com’, in file (or by nickname):
/etc/pki/tls/certs/localhost.crt

The certificate needs to be renewed; this can be done
using the ‘genkey’ program.

Browsers will not be able to correctly connect to this
web site using SSL until the certificate is renewed.

##########################################################
Generated by certwatch(1)

 

 

So my fix was this:

cd /etc/pki/tls/certs/
rm localhost.crt
make localhost.crt
mv localhost.key ../private/localhost.key
cd ../private/
cp localhost.key localhost.key.orig
openssl rsa -in localhost.key.orig -out localhost.key

This entry was posted on Saturday, January 6th, 2018 at 12:02 pm and is filed under Linux/Hosting. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a reply

You must be logged in to post a comment.