Answer the question
In order to leave comments, you need to log in
How to make Certbot friends on windows 2019 IIS 10?
Good day. I'm trying to make a new certificate for my exchange using a sertbot.
https://certbot.eff.org/lets-encrypt/windows-other I took the sertbot from here.
Added MIME TYPES to iis: . text/plain
I follow the manual, I run the powershell with administrator rights:
certbot certonly --webroot
mail.domain.ru
c:\inetpub\wwwroot
Then it crashes with errors
PS C:\inetpub\wwwroot\.well-known\acme-challenge> certbot certonly --webroot
Saving debug log to C:\Certbot\log\letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Please enter in your domain name(s) (comma and/or space separated) (Enter 'c'
to cancel): mail.domain.ru
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for mail.domain.ru
Input the webroot for mail.domain.ru: (Enter 'c' to cancel): c:\inetpub\wwwroot
Waiting for verification...
[31mChallenge failed for domain mail.domain.ru[0m
http-01 challenge for mail.domain.ru
Cleaning up challenges
[31mSome challenges have failed.[0m
[1m
IMPORTANT NOTES:
[0m - The following errors were reported by the server:
Domain: mail.domain.ru
Type: unauthorized
Detail: During secondary validation: Invalid response from
https://mail.domain.ru/.well-known/acme-challenge/Z4uGcb2Cfr5eGCkd6Azg68pgPHfHrjfv20ACA-u19DU
[xx.xx.xx.xx]: 404
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.
Answer the question
In order to leave comments, you need to log in
make the public file available.Detail: During secondary validation: Invalid response from https://mail.domain.ru/.well-known/acme-challenge/Z4uGcb2Cfr5eGCkd6Azg68pgPHfHrjfv20ACA-u19DU [xx.xx.xx.xx]: 404
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question