Назад | Перейти на главную страницу

Изменение сервера (IP-адреса) влияет на доступ к серверу из SSL-сертификата домена с помощью Let's Encrypt

Согласно многим ответам, сертификат не привязан к IP-адресу, но привязан к домену. Но по-прежнему не могу связаться с приложением, используя домен. Есть ли способ уведомить DNS об изменении IP-адреса.

Когда я пытаюсь обновить сертификат,

./letsencrypt-auto certonly -w /etc/apache2/ssl/ -d mkt.example.com

Я могу выбрать

Как бы вы хотели пройти аутентификацию в ACME CA? Я выбрал apache, но получаю следующую ошибку:

 No vhost exists with servername or alias of: mkt.example.com. 
 No vhost was selected. Please specify servernames in the Apache config

Со следующей подробностью.

IMPORTANT NOTES:

   - The following errors were reported by the server:

   Domain: mkt.example.com
   Type:   connection
   Detail: Failed to connect to 53.90.140.146:443 for TLS-SNI-01
   challenge

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A record(s) for that domain
   contain(s) the right IP address. Additionally, please check that
   your computer has a publicly routable IP address and that no
   firewalls are preventing the server from communicating with the
   client. If you're using the webroot plugin, you should also verify
   that you are serving files from the webroot path you provided.

Здесь предыдущий IP-адрес - 53.90.140.146. Но новый IP другой.

Итак, как мне решить эту проблему