How to Use Lets Encrypt on a CentOS 6.1 Server

Hi,

I’m having issues trying to use Let’s Encrypt to install a certificate on a server running CentOS 6.10.

It appears to me that Certbot will not work in CentOS 6.1, as it uses Python 2.6.6 and apparently you need at least 2.7. And since Python is apparently central to the workings of CentOS, you can’t just update Python easily.

If I’m wrong on this, perhaps someone can tell me how they got Certbot to run on CentOS 6.1. Note that I am a Windows guy (for 25 years), and not very experienced in Linux, and thus hesitant to do anything too difficult and likely to cause the end of the world.

There seems to be a long list of alternative (ACME clients) that might be an alternative to Certbot, but there are no guidelines as to which out of the long list might actually run in CentOS 6.1 (and be able to be run by a Windows guy). If there is an ACME client that runs easily on 6.1, perhaps someone can tell me which one it is.

For completeness, the error I get running Certbot is:
Bootstrapping dependencies for RedHat-based OSes that will use Python3… (you can skip this with --no-bootstrap)
yum is /usr/bin/yum
No supported Python package available to install. Aborting bootstrap!

Thanks for any advice in advance.

certbot-auto does work on CentOS 6. From what I can see (when tested on a blank CentOS 6 install just now) it installs epel-release and uses packages from there:

 python34                        x86_64           3.4.8-1.el6                    epel               50 k

If you’re looking for a dependency-free ACME client, I can recommend acmetool, lego, and to some extent, acme.sh.

If it does work on 6.1, perhaps someone knows how I can get past that error message.

Those other clients don’t appear very user-friendly, but i might have to try.

Hi,

I’m having issues trying to use Let’s Encrypt to install a certificate on a server running CentOS 6.10.

It appears to me that Certbot will not work in CentOS 6.1, as it uses Python 2.6.6 and apparently you need at least 2.7. And since Python is apparently central to the workings of CentOS, you can’t just update Python easily.

If I’m wrong on this, perhaps someone can tell me how they got Certbot to run on CentOS 6.1. Note that I am a Windows guy (for 25 years), and not very experienced in Linux, and thus hesitant to do anything too difficult and likely to cause the end of the world. There seems to be a long list of alternative (ACME clients) that might be an alternative to Certbotwritemypaperfast, but there are no guidelines as to which out of the long list might actually run in CentOS 6.1 (and be able to be run by a Windows guy). If there is an ACME client that runs easily on 6.1, perhaps someone can tell me which one it is.

For completeness, the error I get running Certbot is:
Bootstrapping dependencies for RedHat-based OSes that will use Python3… (you can skip this with --no-bootstrap)
yum is /usr/bin/yum
No supported Python package available to install. Aborting bootstrap!

Thanks for any advice in advance.

Hello

$ sudo scl enable python27 './certbot-auto renew'

It works for me on CentOS 6.9 And there was a solution somewhere in the community too - have you tried Python 2.7 using scl?

David

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