Trouble with certbot

Hi everyone

My domain is: uniatitude.com.br
I ran this command: certbot-auto [with any option]
It produced this output:
Bootstrapping dependencies for RedHat-based OSes… (you can skip this with --no-bootstrap)
yum is /usr/bin/yum
To use Certbot, packages from the EPEL repository need to be installed.
Enable the EPEL repository and try running Certbot again.

My web server is (include version):
Server version: Apache/2.2.15 (Unix)
Server built: Jun 19 2018 15:45:13
The operating system my web server runs on is (include version):
CentOS 6.

I can login to a root shell on my machine: (yes or no, or I don’t know): YES
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): NO

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):

No correct answer… just this answer

certbot-auto --version
Bootstrapping dependencies for RedHat-based OSes… (you can skip this with --no-bootstrap)
yum is /usr/bin/yum
To use Certbot, packages from the EPEL repository need to be installed.
Enable the EPEL repository and try running Certbot again.

It was working very well but, i dont know why, became a problem to me!
I reinstalled certbot and still have the same problem.
The reported message does not tell me which EPEL to enable.

I installed EPEL repo, and certbot -v report

Creating virtual environment…
Traceback (most recent call last):
File “”, line 27, in
File “”, line 19, in create_venv
File “/opt/rh/python27/root/usr/lib64/python2.7/subprocess.py”, line 185, in check_call
retcode = call(*popenargs, **kwargs)
File “/opt/rh/python27/root/usr/lib64/python2.7/subprocess.py”, line 172, in call
return Popen(*popenargs, **kwargs).wait()
File “/opt/rh/python27/root/usr/lib64/python2.7/subprocess.py”, line 394, in init
errread, errwrite)
File “/opt/rh/python27/root/usr/lib64/python2.7/subprocess.py”, line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

my certificate directory still ok on /etc/letsencrypt but My certificates will expire in a few days.

Please, help me.

What does this show?

yum list epel-release; echo $?

To me, the error message suggests that Certbot could not find the epel-release package available to be installed. It is in the CentOS extras repo, which should be enabled by default.

I did an EPEL (x86) update, but you reminded me that in case I need EPEL noarch. Perhaps it will solve this problem with certbot’s autoupdates.
I’ll test and give you a feedback.

and the winer is… I enabled EPEL noarch and everything went well, updates were made…
but only on my user account but not on the root account.
BTW ssl certificate was renewed.

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