Question about free cPanel-signed hostname SSL certificate
Hi,
I have recently bought a cpanel Licence for my server.
and a received an email about :
Your free cPanel-signed hostname SSL certificate for nsxxxxx.ip-188-xxx-xxx.eu is available
The problem is In the meanwhile i was going to change the hostname of my server to hosting.mydomain.com So First How can i Install this Certificate because it's not installed yet as i have bad SSL certificate in my Browser? and Can i change the hostanme of the server in Cpanel without break this certificate ?
he certificate covers the following domains:
nsxxxxx.ip-188-xxx-xxx.eu
www.nsxxxxx.ip-188-xxx-xxx.eu
The problem is In the meanwhile i was going to change the hostname of my server to hosting.mydomain.com So First How can i Install this Certificate because it's not installed yet as i have bad SSL certificate in my Browser? and Can i change the hostanme of the server in Cpanel without break this certificate ?
-
Hello, Changing the hostname will automatically generate a new SSL certificate request. You can install the hostname's certificate to Apache using the following option: "WHM Home " SSL/TLS "Install an SSL Certificate on a Domain" Thank you. 0 -
Im Trying to Secure the WHM panel not a specefic domain Should i follow this Tutorial ? tecadmin.net/install-services-ssl-certificates-in-whm-cpanel/ If yes what Should i Put here ? Domains: Provide the FQDNs that you wish to secure, knowing that it's for WHM Panel 0 -
First change the server hostname via WHM " Networking Setup " Change Hostname example, server.domain.com This should automatically generate the free SSL, so you can then go to: WHM " Service Configuration " Manage Service SSL Certificates click "Browse Certificates" and use "Browse Account: root". You should see a certificate for your 'server.domain.com' and the Issuer column should say: cPanel, Inc. If you do not see this, and they all say Issuer: "Self signed", then go into SSH and run the following command: # /usr/local/cpanel/bin/checkallsslcerts
You may have to run it a few times as the first time you run it, it usually says about putting the SSL into queue until it runs again, so running# /usr/local/cpanel/bin/checkallsslcerts
a second time, will have it actually generate the SSL. Then go back to Manage Service SSL Certificates in WHM and select the cPanel, Inc issued SSL, and check the 4 services boxes and then click install.0 -
You should see a certificate for your 'server.domain.com' and the Issuer column should say: cPanel, Inc.
A Changed my hostname and in This section i have a Cpanel Inc Issuer but the Domain is wrong i have the old hostname [LIST]- nsxxxx.ip-188-xxx-xxx.eu
- www.ns3xxx.ip-188-xxx-xxx.eu Issuer cPanel, Inc. Home "Networking Setup "Change Hostname Current Hostname hosting.mydomain.ovh Changed Yesterday
0 -
Ok so did you run the script via SSH like I mentioned :) 0 -
Hello, Try running the following command, as mentioned in the previous post, after updating the hostname: /usr/local/cpanel/bin/checkallsslcerts
This should automatically update and install the hostname certificate on the services. Thank you.0 -
Thank You Both Https Enabled and running :) 0 -
:-D 0 -
You may have to run it a few times
After more than a doze attempts, getting this over and over:The system will check for the certificate for the "cpanel" The system will attempt to replace the self-signed certificate for the "cpanel" The system will attempt to install a certificate for the "cpanel" None of the certificates in the system ssl storage were acceptable to use for the "cpanel" The system will attempt to install a certificate for the "cpanel" [WARN] The system failed to acquire a signed certificate from the cPanel Store because of the following error: (XID re6b7m) The cPanel Store returned an error (X::PermissionDenied) in response to the request "POST ssl/certificate/whm-license" The system will check for the certificate for the "dovecot" The system will attempt to replace the self-signed certificate for the "dovecot" The system will attempt to install a certificate for the "dovecot" None of the certificates in the system ssl storage were acceptable to use for the "dovecot" The system will check for the certificate for the "exim" The system will attempt to replace the self-signed certificate for the "exim" The system will attempt to install a certificate for the "exim" None of the certificates in the system ssl storage were acceptable to use for the "exim" The system will check for the certificate for the "ftp" The system will attempt to replace the self-signed certificate for the "ftp" The system will attempt to install a certificate for the "ftp" None of the certificates in the system ssl storage were acceptable to use for the "ftp"
0 -
[WARN] The system failed to acquire a signed certificate from the cPanel Store because of the following error: (XID re6b7m) The cPanel Store returned an error (X::PermissionDenied) in response to the request "POST ssl/certificate/whm-license"
Hello, Feel free to open a support ticket using the link in my signature if you'd like us to take a closer look. You can post the ticket number here and we will update this thread with the outcome. Thank you.0 -
I was looking how to do this manually. So just run /usr/local/cpanel/bin/checkallsslcerts
Which works great. But make sure the hostname points to the correct IP.0
Please sign in to leave a comment.
Comments
11 comments