I can't install let's encrypt on CentOS 6 AWS

Hello.

I can’t install let’s encrypt on CentOS6 AWS.

I did that:

[root@ip-172-31-30-140 ~]# pwd
/root
[root@ip-172-31-30-140 ~]# git clone https://github.com/letsencrypt/letsencrypt.git
Initialized empty Git repository in /root/letsencrypt/.git/
remote: Enumerating objects: 39, done.
remote: Counting objects: 100% (39/39), done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 63225 (delta 17), reused 25 (delta 11), pack-reused 63186
Receiving objects: 100% (63225/63225), 20.79 MiB | 7.72 MiB/s, done.
Resolving deltas: 100% (46016/46016), done.
[root@ip-172-31-30-140 ~]# cd letsencrypt/
[root@ip-172-31-30-140 letsencrypt]# ./certbot-auto --help
Usage: certbot-auto [OPTIONS]
A self-updating wrapper script for the Certbot ACME client. When run, updates
to both this script and certbot will be downloaded and installed. After
ensuring you have the latest versions installed, certbot will be invoked with
all arguments you have provided.

Help for certbot itself cannot be provided until it is installed.

–debug attempt experimental installation
-h, --help print this help
-n, --non-interactive, --noninteractive run without asking for user input
–no-bootstrap do not install OS dependencies
–no-self-upgrade do not download updates
–os-packages-only install OS dependencies and exit
–install-only install certbot, upgrade if needed, and exit
-v, --verbose provide more output
-q, --quiet provide only update/error output;
implies --non-interactive

All arguments are accepted and forwarded to the Certbot client when run.
[root@ip-172-31-30-140 letsencrypt]# ./letsencrypt-auto --help
Bootstrapping dependencies for RedHat-based OSes that will use Python3… (you can skip this with --no-bootstrap)
yum is /usr/bin/yum
yum is hashed (/usr/bin/yum)
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile

  • base: ftp.iij.ad.jp
  • epel: ftp.iij.ad.jp
  • extras: ftp.iij.ad.jp
  • remi-safe: ftp.riken.jp
  • updates: ftp.iij.ad.jp
    Package gcc-4.4.7-23.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-57.el6.x86_64 already installed and latest version
    Package openssl-devel-1.0.1e-57.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-2018.2.22-65.1.el6.noarch already installed and latest version
    Package 1:mod_ssl-2.2.15-69.el6.centos.x86_64 already installed and latest version
    Resolving Dependencies
    –> Running transaction check
    —> Package libffi-devel.x86_64 0:3.0.5-3.2.el6 will be installed
    —> Package python34.x86_64 0:3.4.8-1.el6 will be installed
    –> Processing Dependency: python34-libs(x86-64) = 3.4.8-1.el6 for package: python34-3.4.8-1.el6.x86_64
    –> Processing Dependency: libpython3.4m.so.1.0()(64bit) for package: python34-3.4.8-1.el6.x86_64
    —> Package python34-devel.x86_64 0:3.4.8-1.el6 will be installed
    –> Processing Dependency: python-rpm-macros for package: python34-devel-3.4.8-1.el6.x86_64
    –> Processing Dependency: python3-rpm-macros for package: python34-devel-3.4.8-1.el6.x86_64
    —> Package python34-tools.x86_64 0:3.4.8-1.el6 will be installed
    –> Processing Dependency: python34-tkinter = 3.4.8-1.el6 for package: python34-tools-3.4.8-1.el6.x86_64
    –> Running transaction check
    —> Package python-rpm-macros.noarch 0:3-13.el6 will be installed
    –> Processing Dependency: python-srpm-macros for package: python-rpm-macros-3-13.el6.noarch
    —> Package python3-rpm-macros.noarch 0:3-13.el6 will be installed
    —> Package python34-libs.x86_64 0:3.4.8-1.el6 will be installed
    —> Package python34-tkinter.x86_64 0:3.4.8-1.el6 will be installed
    –> Processing Dependency: libtcl8.5.so()(64bit) for package: python34-tkinter-3.4.8-1.el6.x86_64
    –> Processing Dependency: libtk8.5.so()(64bit) for package: python34-tkinter-3.4.8-1.el6.x86_64
    –> Running transaction check
    —> Package python-srpm-macros.noarch 0:3-13.el6 will be installed
    —> Package tcl.x86_64 1:8.5.7-6.el6 will be installed
    —> Package tk.x86_64 1:8.5.7-5.el6 will be installed
    –> Finished Dependency Resolution

Dependencies Resolved

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

Installing:
libffi-devel x86_64 3.0.5-3.2.el6 base 18 k
python34 x86_64 3.4.8-1.el6 epel 50 k
python34-devel x86_64 3.4.8-1.el6 epel 186 k
python34-tools x86_64 3.4.8-1.el6 epel 426 k
Installing for dependencies:
python-rpm-macros noarch 3-13.el6 epel 5.6 k
python-srpm-macros noarch 3-13.el6 epel 5.6 k
python3-rpm-macros noarch 3-13.el6 epel 5.1 k
python34-libs x86_64 3.4.8-1.el6 epel 8.4 M
python34-tkinter x86_64 3.4.8-1.el6 epel 336 k
tcl x86_64 1:8.5.7-6.el6 base 1.9 M
tk x86_64 1:8.5.7-5.el6 base 1.4 M

Transaction Summary

Install 11 Package(s)

Total download size: 13 M
Installed size: 40 M
Downloading Packages:
(1/11): libffi-devel-3.0.5-3.2.el6.x86_64.rpm | 18 kB 00:00
(2/11): python-rpm-macros-3-13.el6.noarch.rpm | 5.6 kB 00:00
(3/11): python-srpm-macros-3-13.el6.noarch.rpm | 5.6 kB 00:00
(4/11): python3-rpm-macros-3-13.el6.noarch.rpm | 5.1 kB 00:00
(5/11): python34-3.4.8-1.el6.x86_64.rpm | 50 kB 00:00
(6/11): python34-devel-3.4.8-1.el6.x86_64.rpm | 186 kB 00:00
(7/11): python34-libs-3.4.8-1.el6.x86_64.rpm | 8.4 MB 00:00
(8/11): python34-tkinter-3.4.8-1.el6.x86_64.rpm | 336 kB 00:00
(9/11): python34-tools-3.4.8-1.el6.x86_64.rpm | 426 kB 00:00
(10/11): tcl-8.5.7-6.el6.x86_64.rpm | 1.9 MB 00:00
(11/11): tk-8.5.7-5.el6.x86_64.rpm | 1.4 MB 00:00

Total 18 MB/s | 13 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : python34-libs-3.4.8-1.el6.x86_64 1/11
Installing : python34-3.4.8-1.el6.x86_64 2/11
Installing : 1:tcl-8.5.7-6.el6.x86_64 3/11
Installing : 1:tk-8.5.7-5.el6.x86_64 4/11
Installing : python34-tkinter-3.4.8-1.el6.x86_64 5/11
Installing : python-srpm-macros-3-13.el6.noarch 6/11
Installing : python-rpm-macros-3-13.el6.noarch 7/11
Installing : python3-rpm-macros-3-13.el6.noarch 8/11
Installing : python34-devel-3.4.8-1.el6.x86_64 9/11
Installing : python34-tools-3.4.8-1.el6.x86_64 10/11
Installing : libffi-devel-3.0.5-3.2.el6.x86_64 11/11
Verifying : python34-tkinter-3.4.8-1.el6.x86_64 1/11
Verifying : python34-3.4.8-1.el6.x86_64 2/11
Verifying : python-rpm-macros-3-13.el6.noarch 3/11
Verifying : libffi-devel-3.0.5-3.2.el6.x86_64 4/11
Verifying : 1:tcl-8.5.7-6.el6.x86_64 5/11
Verifying : python3-rpm-macros-3-13.el6.noarch 6/11
Verifying : 1:tk-8.5.7-5.el6.x86_64 7/11
Verifying : python34-devel-3.4.8-1.el6.x86_64 8/11
Verifying : python34-libs-3.4.8-1.el6.x86_64 9/11
Verifying : python34-tools-3.4.8-1.el6.x86_64 10/11
Verifying : python-srpm-macros-3-13.el6.noarch 11/11

Installed:
libffi-devel.x86_64 0:3.0.5-3.2.el6 python34.x86_64 0:3.4.8-1.el6 python34-devel.x86_64 0:3.4.8-1.el6 python34-tools.x86_64 0:3.4.8-1.el6

Dependency Installed:
python-rpm-macros.noarch 0:3-13.el6 python-srpm-macros.noarch 0:3-13.el6 python3-rpm-macros.noarch 0:3-13.el6 python34-libs.x86_64 0:3.4.8-1.el6 python34-tkinter.x86_64 0:3.4.8-1.el6 tcl.x86_64 1:8.5.7-6.el6 tk.x86_64 1:8.5.7-5.el6

Complete!
Creating virtual environment…
Installing Python packages…
Installation succeeded.

Then, prompt is not coming back.
State of ps is that:

[root@ip-172-31-30-140 ~]# ps auxwwwf|grep letsencrypt
root 2136 0.0 0.0 106384 1608 pts/0 S+ 12:55 0:00 | _ /bin/sh ./letsencrypt-auto --help
root 2169 0.0 0.0 106392 1572 pts/0 S+ 12:56 0:00 | _ /bin/sh ./letsencrypt-auto --cb-auto-has-root --le-auto-phase2 --help
root 2301 0.1 0.7 235892 29652 pts/0 S+ 12:56 0:00 | _ /opt/eff.org/certbot/venv/bin/python /opt/eff.org/certbot/venv/bin/letsencrypt --help
root 2397 0.0 0.0 103324 836 pts/1 S+ 13:02 0:00 _ grep letsencrypt

What is the issue? I think that is Python’s issue or something.
Please help me!

The problem was solved by myself.
After all, it seems that the latest version of let’s encrypt was not working well.
The latest version is not compatible with CentOS 6.
Pull old version from git and solve! Operation confirmed in version 0.29.1.

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