我正在尝试使用 --manual 插件生成 Letsencrypt 证书。我使用“手动”,因为在我的服务器中我有 python2.6,我几乎需要 python2.7,所以我从我的笔记本电脑生成证书,然后导出证书。就我而言,我只能使用 http 8280 端口或 https 443 端口。所以我使用的命令是:
./letsencrypt-auto certonly --manual --http-01-port 8280
然后它要求在我的网站上创建一个秘密文件并给我一个命令。在此之后我有这些错误:
Failed authorization procedure. mydomain.es (http-01):
urn:acme:error:connection :: The server could not connect to the client to verify the domain ::
Could not connect to http://mydomain.es/.well-known/acme-challenge/_6UES5rHkQ78etjN3HmT4n2l5J66vDs1nCX2APzuzIE
我可以通过网络导航器访问我的秘密文件,所以我确信与服务器的连接是可能的。在http://mydomain:8280/.well-known/acme-challenge/
我可以看到生成的秘密文件。所以我不知道为什么服务器无法连接到客户端。