Skip to main content

Cpanel can't issue a new hostname ssl

Comments

13 comments

  • cPRex Jurassic Moderator

    Hey there!  Please don't include public domains in Forums posts, for security reasons.

    I wouldn't expect most of those domains to resolve as they are subdomains on top of the hostname, but the actual hostname of the server should still be issued a certificate.

    Is this a DNSOnly machine or a full cPanel & WHM server?

    0
  • Nadjib

    Hi, Thank you for your reply, the server in question is a shared hosting server, i have no problem with useraccout ssl, only with the namserver with i use to access Whm and it's a full cPanel & WHM server

    0
  • cPRex Jurassic Moderator

    If you run the following, does it report the correct IP for the server's hostname?

    /scripts/cpdig your.servers.hostname A
    0
  • Nadjib

    Yes it gives me the correct ip

    0
  • cPRex Jurassic Moderator

    If you create a test page inside /var/www/html/.well-known/acme-challenge are you then able to access it at http://your.hostname.com/.well-known/acme-challenge/test.txt without an error?

    0
  • Nadjib

    yes, i can acces with no error, i created a test.txt no problem

    0
  • cPRex Jurassic Moderator

    Thanks for the additional details.  I think this is related to case CPANEL-44035 where the SSL can't be issued if there isn't a unique DNS zone for the hostname.  Can you run this command and see if that gets things working?

    whmapi1 adddns domain=your.server's.hostname ip=IP

    Just edit that hostname to yours and the IP as well and then run the command.

    0
  • Nadjib

    Thank you very much, it is working now, so this is the resolution for this problem, thank you

    0
  • cPRex Jurassic Moderator

    Great!  I believe we are planning to have this fixed in a future version of 120.

    0
  • Nadjib

    That will be great.

    Thank you again.

    1
  • MikeH

    Once the command is run, is there anything else to do? Our system is the same but hasn't changed after running the command.

    Thanks

    0
  • Nadjib

    Run this command
    usr/local/cpanel/bin/checkallsslcerts --verbose

    1
  • MikeH

    Thanks!

    0

Please sign in to leave a comment.