Skip to main content

Gettin errors from checkallsslcerts script

Comments

8 comments

  • cPanelLauren
    You may already have a certificate but did you install it on anything besides apache? Service SSL's must be installed separately at WHM>>Service Configuration>>Manage Service SSL Certificates. As far as why the DCV check is failing if you perform a curl request as follows what is the output? curl -vvI http://vps.domain.tld/.well-known/pki-validation/hash.txt
    0
  • pmaz
    You may already have a certificate but did you install it on anything besides apache? Service SSL's must be installed separately at WHM>>Service Configuration>>Manage Service SSL Certificates.

    It is installed and working.
    As far as why the DCV check is failing if you perform a curl request as follows what is the output? curl -vvI http://vps.domain.tld/.well-known/pki-validation/hash.txt

    < HTTP/1.1 200 OK HTTP/1.1 200 OK < Date: Sat, 18 Jul 2020 00:09:31 GMT Date: Sat, 18 Jul 2020 00:09:31 GMT < Server: Apache Server: Apache < Last-Modified: Sat, 18 Jul 2020 00:09:20 GMT Last-Modified: Sat, 18 Jul 2020 00:09:20 GMT < Accept-Ranges: bytes Accept-Ranges: bytes < Content-Length: 10 Content-Length: 10 < Cache-Control: no-cache, no-store, must-revalidate Cache-Control: no-cache, no-store, must-revalidate < Pragma: no-cache Pragma: no-cache < Expires: 0 Expires: 0 < Content-Type: text/plain Content-Type: text/plain
    Thank you for your help.
    0
  • andrew.n
    This is usually occurs if your hostname is not pointed correctly to the main IP of the server or if in Basic WebHost Manager Setup in WHM under IPV4 address you set a different IP than your main IP of your server.
    0
  • pmaz
    The IP address in Basic WebHost Manager is corrrectly pointing to the IP of the server.
    0
  • andrew.n
    and the hostname is also resolving to the correct IP?
    0
  • pmaz
    and the hostname is also resolving to the correct IP?

    Yes. I don't understand why the script is getting a 403 error when I can access the temporary file from in a browser from outside.
    0
  • cPanelLauren
    Well at this point I am a bit confused, why are you trying to install a certificate if you've already installed one? The store error isn't that it is not recognizing you have a certificate but that you don't have one issued from the cPanel store. If you go to WHM>>Server Configuration>>Apache Configuration>>Include
    Editor do you have any Apache Includes present? Are you by chance using Imunify?
    0
  • pmaz
    Well at this point I am a bit confused, why are you trying to install a certificate if you've already installed one? The store error isn't that it is not recognizing you have a certificate but that you don't have one issued from the cPanel store. If you go to WHM>>Server Configuration>>Apache Configuration>>Include
    Editor do you have any Apache Includes present? Are you by chance using Imunify?

    I was not trying to install a new certificate. I was just getting daily warnings errors from the script, as you can see in my first post. But you are right, I was using a pre-virtual host include. For some reason that must have been the problem because now I run again checkallsslcerts and it succeeds. Thank you!
    0

Please sign in to leave a comment.