Skip to main content

Dummy Cert Expired

Problem

I'm getting messages that say:

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

  Certificate for hostname 'voyager.xdroop.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)

Solution

When you install CentOS 6, you get a fake dummy cert installed. It's only good for a year.

To regenerate it:

cd /etc/pki/tls/certs
./make-dummy-cert localhost.crt

...and the problem will go away for another year.