ZeroSSL HTTP Verification Failure

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: mollyandbanditpetparty.com

I ran this command: N/A

It produced this output: Invalid response from http://mollyandbanditpetparty.com/.well-known/acme-challenge/tNiQIAZkj1VHzdv04HBMN1nBC1QywHTpZDFQM8ThTR4: " <html xmlns=“http”

My web server is (include version): N/A

The operating system my web server runs on is (include version): Windows Server 2008 R2 Enterprise

My hosting provider, if applicable, is: N/A

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): IIS

ZeroSSL is failing on the http verification step. I created the appropriate directories in the proper location: mollyandbanditpetparty/.well-known/acme-challenge and the verification is unable to find the files. I added a test.txt file in the same location and I am able to access the file through my web browser. When I try to access the file through my web browser, I get 404 - file or directory not found. I am unsure why this step is failing.

I am using the free ssl certificate wizard tool.

Hi @mrcss,

You should test it creating a file without extension, test instead of test.txt. If you can’t get the file without extension maybe you should create a web.config file into that dir with the following content to allow IIS to serve files without extension.

<configuration>
    <system.webServer>
        <staticContent>
            <mimeMap fileExtension="." mimeType="text/plain" />
        </staticContent>
    </system.webServer>
</configuration> 

Cheers,
sahsanu

3 Likes

Thank you for your help @sahsanu. In IIS, I added a new MIME Type using the extension and type you showed in your answer. The verification now works.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.