更改服务器(IP 地址)会影响通过 LetsEncrypt 认证的域 SSL 访问服务器

更改服务器(IP 地址)会影响通过 LetsEncrypt 认证的域 SSL 访问服务器

根据许多答案,证书不是绑定到 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 是不同的。

那么我该如何解决这个问题

相关内容