Cannot issue certificate on windows server 2016 and iis

Type: unauthorized
Detail: Invalid response from
http://recruitment.creditbank.com/.well-known/acme-challenge/GYgYLyQe_KZ5NSszfhqs87F9CeROprsuSjhHJYGwTgE
[185.171.108.30]: "\r\n<html
xmlns=“http”

To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.

Hi @rkhawand1

please answer all of the following questions. That’s the standard template of #help


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:

I ran this command:

It produced this output:

My web server is (include version):

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is:

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

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

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):

1 Like

My domain is: recruitment.creditbank.com

I ran this command:certbot certonly --webroot

It produced this output:
Domain: recruitment.creditbank.com
Type: unauthorized
Detail: Invalid response from
http://recruitment.creditbank.com/.well-known/acme-challenge/GYgYLyQe_KZ5NSszfhqs87F9CeROprsuSjhHJYGwTgE
[185.171.108.30]: "\r\n<html
xmlns=“http”

To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.

My web server is (include version): IIS 10

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

My hosting provider, if applicable, is:

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

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

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):certbot 1.6.0

1 Like

Are extensionless files allowed?

That’s required: A web.config in the root or the .well-known\acme-challenge folder:

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

Or add the relevant part to your main web.config.

1 Like

it seems to work now
thank you

2 Likes

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