Как решить несанкционированную ошибку при установке SSL-сертификата с помощью certbot? - PullRequest
0 голосов
/ 05 февраля 2020

Я пытаюсь установить ssl-сертификат в указанном c домене с помощью letsencrypt, но каждый раз получаю ошибку ниже.

Obtaining a new certificate
Performing the following challenges:
http-01 challenge for subdomain.domain.com
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. subdomain.domain.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://subdomain.domain.com/.well-known/acme-challenge/QjvSK-sa8wFxqxiZoqHBgQNx8x2O0NsojTOQ-_SSS7Q [167.99.94.47]: "<!DOCTYPE html>\n<html>\n    <head>\n        <meta charset=\"UTF-8\" />\n        <meta name=\"robots\" content=\"noindex,nofollow\" />\n   "

IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: subdomain.domain.com
   Type:   unauthorized
   Detail: Invalid response from
   http://subdomain.domain.com/.well-known/acme-challenge/QjvSK-sa8wFxqxiZoqHBgQNx8x2O0NsojTOQ-_SSS7Q
   [167.99.94.47]: "<!DOCTYPE html>\n<html>\n    <head>\n        <meta
   charset=\"UTF-8\" />\n        <meta name=\"robots\"
   content=\"noindex,nofollow\" />\n   "

   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.

Мой сайт, использующий этот домен, является php проектом, который работает на docker и на хостинге digitalocean droplet.

Я делаю перенаправление всех доменов, и перенаправление доменов работает. Но не ssl.

Как можно решить эту проблему?

Не могли бы вы помочь мне с этим?

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...