Certbot更新错误 - AWS EC2
问题描述:
我有一个AWS实例,其中letsenrypt证书将在下周过期。我为SSL使用Certbot。 要续订我跑证书:Certbot更新错误 - AWS EC2
./certbot-auto --force-renewal
然后我得到了以下错误
- The following errors were reported by the server:
Domain: mydomain.com
Type: unauthorized
Detail: Incorrect validation certificate for tls-sni-01 challenge.
Requested
e1ffb2998151164f701ff76417586854.6bdc1fb9cc4424a3ecd85558d178f6e9.acme.invalid
from IP.00.00.00. Received 3 certificate(s), first
certificate had names "mydomain.com"
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.
我的域名输入正确,和我的DNS A记录(S)包含正确的IP。 (我使用3为1像ip:mydomain.com,www.mydomain.com,myOLDdomain.com)。
有人可以帮我更新它?
答
好吧,我设法更新我的证书。我的网页目录有问题。
sudo ./certbot-auto certonly --expand --webroot --webroot-path /path/to/web/folder -d mydomain.com