Как подружить Certbot на windows 2019 IIS 10?

Доброго дня. Пытаюсь сделать новый сертификат на свой эксчендж с помощью сертбота.
https://certbot.eff.org/lets-encrypt/windows-other Отсюда взял сертбота.
В иис добавил MIME TYPES: . text/plain
Выполняю по мануалу, запускаю павершелл с правами администратора:
certbot certonly --webroot
mail.domain.ru
c:\inetpub\wwwroot
Далее выпадает с ошибками
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.


Создал в папке acme-challenge файл с именем Z4uGcb, он доступен.
Что не так, куда можно смотреть?
  • Вопрос задан
  • 1327 просмотров
Пригласить эксперта
Ответы на вопрос 1
xmoonlight
@xmoonlight
https://sitecoder.blogspot.com
Detail: During secondary validation: Invalid response from
   https://mail.domain.ru/.well-known/acme-challenge/Z4uGcb2Cfr5eGCkd6Azg68pgPHfHrjfv20ACA-u19DU
   [xx.xx.xx.xx]: 404
сделайте доступным файл с паблика.
Протестируйте через браузер, используя другую сеть (мобильную, например).
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы