Skip to main content

WHM keeps resetting control panel SSL cert

Comments

5 comments

  • SSy
    I've located one cron note that says this: The system will attempt to replace the certificate for the "cpanel" service with a signed certificate from the cPanel Store because the current certificate expires in less than one week. How do I disable this?
    0
  • SSy
    I have done this: touch /var/cpanel/ssl/disable_auto_hostname_certificate will this now no longer happen?
    0
  • cPanelMichael
    Hello, You can disable automatic service certificate management to avoid it's replacement by creating the /var/cpanel/ssl/disable_service_certificate_management file:
    touch /var/cpanel/ssl/disable_service_certificate_management
    This will prevent cPanel from automatically replacing the certificate. Thank you.
    0
  • SSy
    Thank you!
    0
  • 24x7server
    Hi, The AutoSSL could be the one that is keeping the certificate reset. However, you should do both the things mentioned, one is the command that you gave and other is the one that Michael gave. touch /var/cpanel/ssl/disable_auto_hostname_certificate touch /var/cpanel/ssl/disable_service_certificate_management One will disable SSL check on service and other will do it on hostname. Hostname is also important one, as your server is recognized by its hostname..
    0

Please sign in to leave a comment.