Change domain for free cPanel SSL certificate
After cPanel was set up I received the email about the free cPanel-signed SSL certificate for the server's hostname.
Unfortunately the server hadn't been set up correctly and the hostname has since been changed. Is there a way to update the domain that the certificate is attached to, or force cPanel to re-check the hostname?
Thanks
-
Unfortunately the server hadn't been set up correctly and the hostname has since been changed. Is there a way to update the domain that the certificate is attached to, or force cPanel to re-check the hostname?
Hello, This should happen automatically during the next nightly cPanel update. Or, you can run the following command to update the certificate manually:/usr/local/cpanel/bin/checkallsslcerts
Thank you.0 -
Thanks Michael, I ran your suggested command and am still seeing the "Site is not secured" warning when I browse to the WHM login screen. Do I need to delete the SSL certificate and key for the old hostname from WHM's SSL Storage Manager? 0 -
Thanks Michael, I ran your suggested command and am still seeing the "Site is not secured" warning when I browse to the WHM login screen. Do I need to delete the SSL certificate and key for the old hostname from WHM's SSL Storage Manager?
Could you verify the URL you are using to access Web Host Manager? Replace the real domain name with an example. Thanks!0 -
I access from my hostname, which is something like server.example.co.uk:2087. Is it possible a port needs to be opened? 0 -
Hello @chris_huh, Check to see if touch files exist on the system that will prevent the AutoSSL hostname certificate generation: ls /var/cpanel/ssl/disable_auto_hostname_certificate /var/cpanel/ssl/disable_service_certificate_management
If so, you can remove those files and then run the "/usr/local/cpanel/bin/checkallsslcerts" command again. Thank you.0 -
Doesn't seem like there are any touch files: [root@server ~]# ls /var/cpanel/ssl/disable_auto_hostname_certificate /var/cpanel/ssl/disable_service_certificate_management ls: cannot access /var/cpanel/ssl/disable_auto_hostname_certificate: No such file or directory ls: cannot access /var/cpanel/ssl/disable_service_certificate_management: No such file or directory0 -
Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here and we will update this thread with the outcome. Thanks! 0 -
Thanks, but my cPanel license came through a Partner so I will try to contact them directly and come back to you if they can't fix it. Cheers Michael 0 -
Hi, I contacted my host but they said they couldn't do anything about it as the certificate is provided by cPanel. Shall I create a ticket with cPanel? 0 -
Hello, Yes, feel free to open a ticket directly with us if your provider was unable to determine the cause of the problem. Thanks! 0
Please sign in to leave a comment.
Comments
10 comments