Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Generate cPanel signed cert for my server hostname

Discussion in 'Security' started by jeffcan, Dec 15, 2016.

Tags:
  1. jeffcan

    jeffcan Member

    Joined:
    Nov 13, 2013
    Messages:
    12
    Likes Received:
    3
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Hello there,

    SSL cert on my cPanel hostname (e.g: server.mydomain.com) has expired.

    How can I generate cPanel CA signed cert for my cpanel's hostname? (WHM, cpanel login URL, etc.)

    I can see that I can generate certs for all of my domains via "autoSSL" feature but I haven't been able to find a way to generate certificate for my cPanel hostname (WHM URL, etc.)

    Please advise
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,615
    Likes Received:
    51
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    it should be installing a new one during a cpanel update
    else you can run it manaully

    /usr/local/cpanel/bin/checkallsslcerts
     
    jeffcan and cPanelMichael like this.
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Check to see if touch files exist on the system that will prevent the AutoSSL hostname certificate generation:

    Code:
    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.
     
    jeffcan likes this.
  4. jeffcan

    jeffcan Member

    Joined:
    Nov 13, 2013
    Messages:
    12
    Likes Received:
    3
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Hello @dalem and @cPanelMichael
    Thanks for your input.

    • I don't have disable_auto_hostname_certificate nor disable_service_certificate_management files at all
    • I've ran /usr/local/cpanel/bin/checkallsslcerts but it didn't generate a new certificate (been 1+ hr)
    • My hostname resolves to my IP address.
    Note: I have a self-signed cert at this moment.

    Please help me to troubleshoot this further.
     
  5. anushkumar

    anushkumar Well-Known Member

    Joined:
    May 14, 2005
    Messages:
    57
    Likes Received:
    1
    Trophy Points:
    158
    cPanel Access Level:
    Root Administrator
  6. jeffcan

    jeffcan Member

    Joined:
    Nov 13, 2013
    Messages:
    12
    Likes Received:
    3
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Hello @anushkumar
    I am running WHM 60.0 (build 28) on CLOUDLINUX 6.8 x86_64 standard

    Any other suggestion would be highly appreciated.
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @jeffcan,

    Browse to "WHM >> Manage AutoSSL" and review the most recent log under the "Logs" tab. Could you let us know the output for the server's hostname certificate request?

    Thank you.
     
  8. jeffcan

    jeffcan Member

    Joined:
    Nov 13, 2013
    Messages:
    12
    Likes Received:
    3
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Hello Michael,
    I didn't see any logs related to my hostname. It's full of stuff related to all other domains.
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Would you mind opening a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page