Certbot Installation Error


#1

Hello, I am trying to install certbot on a CentOS 6.8 machine running WHM ( cPanel ).

I run the command: ./certbot-auto --apache certonly

and run into the error at the end of the following extract. Would appreciate your help.

Bootstrapping dependencies for RedHat-based OSes...
yum is /usr/bin/yum
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.nsw.coloau.com.au
 * epel: mirror.nsw.coloau.com.au
 * extras: mirror.nsw.coloau.com.au
 * updates: mirror.nsw.coloau.com.au
Package gcc-4.4.7-17.el6.x86_64 already installed and latest version
Package dialog-1.1-9.20080819.1.el6.x86_64 already installed and latest version
Package augeas-libs-1.0.0-10.el6.x86_64 already installed and latest version
Package openssl-1.0.1e-48.el6_8.3.x86_64 already installed and latest version
Package openssl-devel-1.0.1e-48.el6_8.3.x86_64 already installed and latest version
Package libffi-devel-3.0.5-3.2.el6.x86_64 already installed and latest version
Package redhat-rpm-config-9.0.3-51.el6.centos.noarch already installed and latest version
Package ca-certificates-2015.2.6-65.0.1.el6_7.noarch already installed and latest version
Package python-2.6.6-66.el6_8.x86_64 already installed and latest version
Package python-devel-2.6.6-66.el6_8.x86_64 already installed and latest version
Package python-virtualenv-1.10.1-1.el6.noarch already installed and latest version
Package python-tools-2.6.6-66.el6_8.x86_64 already installed and latest version
Package python-pip-7.1.0-1.el6.noarch 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 "/tmp/tmp.MuNtTW7hcL/pipstrap.py", line 146, in <module>
    exit(main())
  File "/tmp/tmp.MuNtTW7hcL/pipstrap.py", line 130, in main
    for url, digest in PACKAGES]
  File "/tmp/tmp.MuNtTW7hcL/pipstrap.py", line 112, in hashed_download
    response = opener().open(url)
  File "/usr/lib64/python2.6/urllib2.py", line 391, in open
    response = self._open(req, data)
  File "/usr/lib64/python2.6/urllib2.py", line 409, in _open
    '_open', req)
  File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.6/urllib2.py", line 1198, in https_open
    return self.do_open(httplib.HTTPSConnection, req)
  File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno 101] Network is unreachable>

#2

what version of cpanel are you using ? if you have at least 58.0.17 then I’d suggest the built in version in cpanel - https://documentation.cpanel.net/display/CKB/The+Let’s+Encrypt+Plugin


#3

Thanks Andy, yes I am using 60.0.28. I will give that a go and report back.

Cheers,
Brendan


#4

Thanks… this worked.
Brendan


#5

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.