OS: Centos 6.8 (latest patches as of April 14)
Summary: I have had a server hardware failure and is swapping Apache to a new server. I have had this server configured once before long time ago for a different domain than what I today. I have tried to delete all letsencrypt folders in /var/lib/, /etc, /opt/err.org. I have tried to uninstall apache, remove all folders /etc/http, /var/www etc. So right now I am at square one. All to no avail, I keep getting below error, which seems to be a python error:
[root@XXXX downloads]# ./certbot-auto --apache -d XXXX -v
Bootstrapping dependencies for RedHat-based OSes that will use Python3… (you can skip this with --no-bootstrap)
yum is /usr/bin/yum
yum is hashed (/usr/bin/yum)
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
- base: ftp.crc.dk
- epel: mirror.i3d.net
- extras: mirror2.hs-esslingen.de
- updates: mirror.rackspeed.de
Package gcc-4.4.7-18.el6_9.2.i686 already installed and latest version
Package augeas-libs-1.0.0-10.el6.i686 already installed and latest version
Package openssl-1.0.1e-57.el6.i686 already installed and latest version
Package openssl-devel-1.0.1e-57.el6.i686 already installed and latest version
Package libffi-devel-3.0.5-3.2.el6.i686 already installed and latest version
Package redhat-rpm-config-9.0.3-51.el6.centos.noarch already installed and latest version
Package ca-certificates-2017.2.14-65.0.1.el6_9.noarch already installed and latest version
Package python34-3.4.5-4.el6.i686 already installed and latest version
Package python34-devel-3.4.5-4.el6.i686 already installed and latest version
Package python34-tools-3.4.5-4.el6.i686 already installed and latest version
Nothing to do
WARNING: unable to check for updates.
Creating virtual environment…
Installing Python packages…
Traceback (most recent call last):
File “/usr/lib/python3.4/urllib/request.py”, line 1183, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File “/usr/lib/python3.4/http/client.py”, line 1137, in request
self._send_request(method, url, body, headers)
File “/usr/lib/python3.4/http/client.py”, line 1182, in _send_request
self.endheaders(body)
File “/usr/lib/python3.4/http/client.py”, line 1133, in endheaders
self._send_output(message_body)
File “/usr/lib/python3.4/http/client.py”, line 963, in _send_output
self.send(msg)
File “/usr/lib/python3.4/http/client.py”, line 898, in send
self.connect()
File “/usr/lib/python3.4/http/client.py”, line 1287, in connect
server_hostname=server_hostname)
File “/usr/lib/python3.4/ssl.py”, line 362, in wrap_socket
_context=self)
File “/usr/lib/python3.4/ssl.py”, line 580, in init
self.do_handshake()
File “/usr/lib/python3.4/ssl.py”, line 807, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/tmp/tmp.Gucwqk6bou/pipstrap.py”, line 184, in
exit(main())
File “/tmp/tmp.Gucwqk6bou/pipstrap.py”, line 165, in main
for path, digest in PACKAGES]
File “/tmp/tmp.Gucwqk6bou/pipstrap.py”, line 165, in
for path, digest in PACKAGES]
File “/tmp/tmp.Gucwqk6bou/pipstrap.py”, line 120, in hashed_download
response = opener(using_https=parsed_url.scheme == ‘https’).open(url)
File “/usr/lib/python3.4/urllib/request.py”, line 464, in open
response = self._open(req, data)
File “/usr/lib/python3.4/urllib/request.py”, line 482, in _open
‘_open’, req)
File “/usr/lib/python3.4/urllib/request.py”, line 442, in _call_chain
result = func(*args)
File “/usr/lib/python3.4/urllib/request.py”, line 1226, in https_open
context=self._context, check_hostname=self._check_hostname)
File “/usr/lib/python3.4/urllib/request.py”, line 1185, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>