我尝试为我的网站获取 SSL 证书,我正在使用 certbot certonly -a webroot --webroot-path=/var/www/html -d example.com -d www.example.com
但得到这样的错误 raise ConnectionError(err, request=request) ConnectionError: ('Connection aborted.', gaierror(-2, 'Name or service not known'))
,我的操作系统是 Debian 8,我在我的服务器上使用 nginx 和节点 js,tnks
最佳答案
我今天遇到了这个错误。似乎已经修复了自己。
这让我认为这是一个暂时的名称解析问题。
解决方案似乎是等待并稍后再试。
关于linux - 从 certbot 获取错误 `` `gaierror(-2, 'Name or service not known') )```,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69901956/