美好的一天,
我正在尝试创建一个已设置 EOL 的测试服务器 - Ubuntu 14.04
、php5.5
。
我正在尝试安装certbot-auto 1.9.0
。我知道这是 EOL,确实不应该使用。但是,我们确实有一些服务器仍在成功使用它,几乎没有出现任何问题。
当我尝试安装 certbot-auto 1.9.0
时,我收到以下错误。有什么办法可以解决这个问题吗?
Installing Python packages...
Traceback (most recent call last):
File "/tmp/tmp.KuBN6fzZPB/pipstrap.py", line 182, in <module>
sys.exit(main())
File "/tmp/tmp.KuBN6fzZPB/pipstrap.py", line 163, in main
for path, digest in PACKAGES]
File "/tmp/tmp.KuBN6fzZPB/pipstrap.py", line 122, in hashed_download
response = opener(using_https=parsed_url.scheme == 'https').open(url)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: SNI is required```
最佳答案
根据this answer在 LetsEncrypt 讨论板上,在 Ubuntu 14.04 上根本不可能再使用 Certbot/certbot-auto
(可能是因为 Certbot 尝试更新自身,但在 Ubuntu 14.04 上不再能够这样做)。
acme.sh是一个可能有效的不同 LetsEncrypt 客户端。
关于python - 在旧版 (EOL) SNI 上安装 certbot-auto 时需要加密 403 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69736310/