Symptoms
When a hostname certificate is issued, you will notice that the certificate includes the server's previous hostname.
Cause
When preparing a new certificate request, the /usr/local/cpanel/bin/checkallsslcerts script looks at the current hostname and previous hostnames that resolve to the server. This data is stored in the following file, /var/cpanel/hostname_history.json
Resolution
Move the
hostname_history.jsonfile out of the way.# mv -v /var/cpanel/hostname_history.json{,.$(date +%s)}
Move
hostname_cert_csrsout of the way.# mv -v /var/cpanel/hostname_cert_csrs{,.$(date +%s)}
Run the
/usr/local/cpanel/bin/checkallsslcerts script to order a new certificate.# /usr/local/cpanel/bin/checkallsslcerts
Comments
0 comments
Article is closed for comments.