I ran this command as root on patched and updated CentOS 6.10 :
cd /root/letsencrypt/ && ./letsencrypt-auto renew
It produced this output:
Upgrading certbot-auto 1.0.0 to 1.1.0…
Replacing certbot-auto…
Bootstrapping dependencies for Legacy RedHat-based OSes that will use Python3… (you can skip this with --no-bootstrap)
yum is hashed (/usr/bin/yum)
To use Certbot on this operating system, packages from the SCL repository need to be installed.
Enabling the SCL repository in 3 seconds… (Press Ctrl-C to cancel)e[0KEnabling the SCL repository in 2 seconds… (Press Ctrl-C to cancel)e[0KEnabling the SCL repository in 1 second… (Press Ctrl-C to cancel)
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
updates: mirror.colocity.com
No package available.
Package 10:centos-release-scl-7-4.el6.centos.noarch already installed and latest version
Nothing to do
No supported Python package available to install. Aborting bootstrap!
Any tips or clues for how to fix ? Current cert expires in a few weeks.
What is the output of the uname -i command? If the output is i386, than I suggest to use a different tool to get certificate. (I guess, that architecture is not supported any more by the latest python language.)
List of software to get a certificate: https://letsencrypt.org/docs/client-options/
@bgroper, on x86-64 RHEL 6 based systems, certbot-auto is trying to enable the SCL repository so it can install a version of Python that is still supported by the Python maintainers. Usually this can be done by installing the centos-release-scl package, but this doesn’t appear to be working on your system.
Do you know why? Have you manually disabled SCL? You can see which repositories are enabled by running a command like sudo yum repolist. You may be able to fix the problem by uninstalling and reinstalling the centos-release-scl package and its dependency through commands like: