Skip to main content

Question about free cPanel-signed hostname SSL certificate

Comments

11 comments

  • cPanelMichael
    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
  • Redwene
    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
  • Jcats
    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
  • Redwene
    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
  • Jcats
    Ok so did you run the script via SSH like I mentioned :)
    0
  • cPanelMichael
    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
  • Redwene
    Thank You Both Https Enabled and running :)
    0
  • Jcats
    :-D
    0
  • kpmedia
    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
  • cPanelMichael
    [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
  • HostXNow_Chris
    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.