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.

SSL Wizard - DCV check failure

Discussion in 'Security' started by SteveS99, Jul 22, 2016.

Tags:
  1. SteveS99

    SteveS99 Registered

    Joined:
    Jul 22, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indonesia
    cPanel Access Level:
    Root Administrator
    I'm new to cPanel so please be "gentle" :)

    I have set up three un-related cPanel purchased SSL certs on the server for three domains which all worked fine.

    I am having issues with the fourth as the DCV check is failing....

    Code:
    = = = = = = = = = = = = = =
    ERROR Message from wizard.....
    The system queried for a temporary file at “http://example.com/ensure_domains_can_pass_dcv_KPVlArMFGPbcObDnykjMToINhTVu0CCJo3bCb1aTTzF8JW0NwJodKgsp2XCLCEsL.txt”[/URL], but the web server indicated an error in response to this request: 404 (Not Found). It is possible that there is a DNS (Domain Name System) or web server misconfiguration.
    = = = = = = = = = = = = = =
    
    I have checked the DNS / Nameservers etc configuration (registered with EasyDNS) and the problem site settings are exactly the same as the three that worked.

    The DNS name resolves OK with "example.com and "www.example.com" and the http version of the site works.......

    I have Admin/Root access to the cPanel solution and Admin access / ownership of the actual web sites.....

    OS is Centos 6.8 and WHM is 56.0

    Really don't know what to do next..... All help and suggestions appreciated....

    Thanks,
    Steve
     
    #1 SteveS99, Jul 22, 2016
    Last edited by a moderator: Jul 23, 2016
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you review the .htaccess file under that account's home directory, and within it's public_html directory, to determine if there are any rules that deny IP addresses?

    Thank you.
     
  3. SteveS99

    SteveS99 Registered

    Joined:
    Jul 22, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indonesia
    cPanel Access Level:
    Root Administrator
    Hi Michael,

    Thanks for the input.....

    I have reviewed the .htaccess file and in the three sites that worked, there is not a .htaccess file.

    In the site with the problems, I have a .htaccess file in the /public_html folder with the following content:

    = = = = = = = = = = = = = = = =
    RewriteOptions inherit
    RewriteEngine on
    RewriteCond $1 !^(index\.php|front_asstes|AuditSurveyImages|auditsurveyimages|assets|contest|css|js|lib|img|images|upload|bootstrap|robots\.txt)
    RewriteRule ^(.*)$ /index.php/$1 [L]
    = = = = = = = = = = = = = = = =

    I am not really sure what this means :) any help in determining what is wrong or what needs to be modified would be greatly appreciated.....

    SteveS
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    It could be blocking the query for the temporary file. Try backing up the .htaccess file, and then temporarily disabling those rules to verify if that's the culprit.

    Thank you.
     
  5. SteveS99

    SteveS99 Registered

    Joined:
    Jul 22, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Indonesia
    cPanel Access Level:
    Root Administrator
    Hi Michael,

    That worked thanks.....

    I re-named the .htaccess file, successfully purchased and installed the SSL cert from the cPanel store, put the .htaccess file back again and now the site works perfectly with https://

    Many thanks for your help.
    SteveS
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I'm happy to see the issue is now resolved. Note that you may need to complete the same steps the next time the certificate is renewed, or you might want to exclude this rule from cPanel or Comodo IP addresses.

    Thank you.
     
Loading...

Share This Page