我正在尝试在Amazon Linux EC2实例上运行certbot以生成ssl证书。我已关闭nginx和apache,以使80端口可用于certbot绑定。
我正在使用以下命令运行certbot:./certbot-auto certonly --standalone -d mydomain.com,它正在产生以下error。
所有DNS记录也已正确配置,所以我不确定为什么会发生此错误。
如何使certbot正常运行?
我必须指定正确的http-01-port
。
./certbot-auto certonly **--http-01-port 8080** -d domain.com -d www.domain.com