Certbot Not working

My domain is: simplibank.eko.in

I ran this command: sudo yum install python2-certbot-nginx

It produced this output: Resolving Dependencies
–> Running transaction check
—> Package python2-certbot-nginx.noarch 0:0.27.1-1.el7 will be updated
—> Package python2-certbot-nginx.noarch 0:0.29.1-1.el7 will be an update
–> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================================
Package Arch Version Repository Size

Updating:
python2-certbot-nginx noarch 0.29.1-1.el7 epel 75 k

Transaction Summary

Upgrade 1 Package

Total download size: 75 k
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
python2-certbot-nginx-0.29.1-1.el7.noarch.rpm | 75 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : python2-certbot-nginx-0.29.1-1.el7.noarch 1/2
Cleanup : python2-certbot-nginx-0.27.1-1.el7.noarch 2/2
Verifying : python2-certbot-nginx-0.29.1-1.el7.noarch 1/2
Verifying : python2-certbot-nginx-0.27.1-1.el7.noarch 2/2

Updated:
python2-certbot-nginx.noarch 0:0.29.1-1.el7

Complete!

$certbot --version
Traceback (most recent call last):
File “/bin/certbot”, line 5, in
from pkg_resources import load_entry_point
File “/usr/lib/python2.7/site-packages/pkg_resources.py”, line 3011, in
parse_requirements(requires), Environment()
File “/usr/lib/python2.7/site-packages/pkg_resources.py”, line 626, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: acme>=0.29.0

My web server is (include version):

The operating system my web server runs on is (include version): RHEL 7

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know):

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):

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

certbot --version
Traceback (most recent call last):
File “/bin/certbot”, line 5, in
from pkg_resources import load_entry_point
File “/usr/lib/python2.7/site-packages/pkg_resources.py”, line 3011, in
parse_requirements(requires), Environment()
File “/usr/lib/python2.7/site-packages/pkg_resources.py”, line 626, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: acme>=0.29.0

There’s probably a python2-acme package that needs to be installed or upgraded.

Can you upgrade or install things as it tells you to, or upgrade everything?

(The same might apply to a python2-josepy package.)

I have received a mail regarding certbot upgrade otherwise auto-renewal will stop working after 13th feb.
So i have upgraded cerbot version.

BTW thanks for helping out, i have updated the package python2-acme, and now its working.

1 Like

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