之前对多个服务器都进行了 https 证书的申请,都没有问题,但是今天新装了个系统,然后进行
certbot certonly -a webroot --webroot-path=/var/www/
居然提示
raise ImportError("'pyOpenSSL' module missing required functionality. "
ImportError: 'pyOpenSSL' module missing required functionality. Try upgrading to v0.14 or newer.
搜了搜 Centos7 的 pyOpenSSL 是 0.13 的。0.14以上都是那个fedora的,别的服务器也是 centos7 就没出现这个问题。
yum install epel-release
yum install certbot
看 pip 的版本确是 16 。这个是怎么回事?搜出来的方案也是各种搞不定。