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.

SOLVED Fresh installation SSL not valid

Discussion in 'Security' started by Todesengel, Mar 7, 2017.

  1. Todesengel

    Todesengel Member

    Joined:
    Jul 15, 2014
    Messages:
    12
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Reseller Owner
    Hey Guys,

    I've been playing around with WHM, getting more familiar with it as potential hosting software for my design business. I did notice the first few times I installed it on a sandbox machine, that when I browsed to WHM the very first time the SSL was perfectly valid and issued by cPanel. Well, this is the 3rd time I've installed it and I'm getting a site not secure error and the certificate is a self signed one. Did I do something wrong during the installation?

    I also went to, "Manage Service SSL Certificates" and reset the certificate and this did not fix the issue. Any ideas?
     
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    588
    Likes Received:
    88
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Was the DNS added at a later time for the hostname, it has to be a valid hostname at the time that cPanel tries to generate the SSL.

    Try running the following in SSH:

    Code:
    # /usr/local/cpanel/bin/checkallsslcerts
     
    Todesengel likes this.
  3. Todesengel

    Todesengel Member

    Joined:
    Jul 15, 2014
    Messages:
    12
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Reseller Owner
    You the man! That is exactly what happened, and that command fixed it!
     
    Jcats likes this.
  4. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    588
    Likes Received:
    88
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Awesome :)
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,086
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm happy to see the issue was addressed. Thank you for updating us with the outcome.
     
Loading...

Share This Page