Certbot

What’s certbot?

Certbot is a free, open source software tool for automatically using Let’s Encrypt certificates on manually-administrated websites to enable HTTPS

Certbot is made by the Electronic Frontier Foundation (EFF), a nonprofit organization based in San Francisco, CA, that defends digital privacy, free speech, and innovation.

You can learn more about “Certbot” at its official website:

https://certbot.eff.org/

How to install certbot on CentOS 7?

In order to be able to install certbot on CentOS 7, first you must be sure you already have a website online with an open port 80, which is hosted on a server, which you can access via SSH with the ability to sudo.

The next step is to go to the official certbot website and choose your web server, in our case Apache and also your OS, in our case CentOS 7, see image below:

certbot for Apache on CentOS 7

Enable EPEL repo

You can take a look at this article to learn how to enable the EPEL repository on your CentOS 7, you can verify that EPEL was successfully installed by running the following CLI command.

find / -name "epel*repo" | grep epel
EPEL repo files location

Is EPEL enabled?

Execute the following CLI command to verify that the EPEL repository is actually enabled.

yum repolist all | grep enabled

Install Certbot

Use the following CLI command to install Certbot on your Linux CentOS 7.

yum install certbot python2-certbot-apache

Certbot installation log

As usual, we are sharing the installation log in case you need it.

[root@centos7 ~]# yum install certbot python2-certbot-apache
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                                        |  55 kB  00:00:00     
 * base: centos.brisanet.com.br
 * epel: mirror.pit.teraswitch.com
 * extras: centos.itsbrasil.net
 * remi-php73: mirror.pit.teraswitch.com
 * remi-safe: mirror.pit.teraswitch.com
 * updates: centos.brisanet.com.br
base                                                                        | 3.6 kB  00:00:00     
epel                                                                        | 5.3 kB  00:00:00     
extras                                                                      | 2.9 kB  00:00:00     
remi-php73                                                                  | 3.0 kB  00:00:00     
remi-safe                                                                   | 3.0 kB  00:00:00     
updates                                                                     | 2.9 kB  00:00:00     
(1/4): epel/x86_64/updateinfo                                               | 1.0 MB  00:00:16     
(2/4): epel/x86_64/primary_db                                               | 6.7 MB  00:00:01     
(3/4): remi-php73/primary_db                                                | 218 kB  00:00:17     
(4/4): remi-safe/primary_db                                                 | 1.7 MB  00:00:17     
Resolving Dependencies
--> Running transaction check
---> Package certbot.noarch 0:1.0.0-1.el7 will be installed
--> Processing Dependency: python2-certbot = 1.0.0-1.el7 for package: certbot-1.0.0-1.el7.noarch
--> Processing Dependency: /usr/sbin/semanage for package: certbot-1.0.0-1.el7.noarch
---> Package python2-certbot-apache.noarch 0:1.0.0-1.el7 will be installed
--> Processing Dependency: python2-acme >= 0.29.0 for package: python2-certbot-apache-1.0.0-1.el7.noarch
--> Processing Dependency: mod_ssl for package: python2-certbot-apache-1.0.0-1.el7.noarch
--> Processing Dependency: pytest for package: python2-certbot-apache-1.0.0-1.el7.noarch
--> Processing Dependency: python-augeas for package: python2-certbot-apache-1.0.0-1.el7.noarch
--> Running transaction check
---> Package mod_ssl.x86_64 1:2.4.6-90.el7.centos will be installed
---> Package policycoreutils-python.x86_64 0:2.5-33.el7 will be installed
--> Processing Dependency: setools-libs >= 3.3.8-4 for package: policycoreutils-python-2.5-33.el7.x86_64
--> Processing Dependency: libsemanage-python >= 2.5-14 for package: policycoreutils-python-2.5-33.el7.x86_64
--> Processing Dependency: audit-libs-python >= 2.1.3-4 for package: policycoreutils-python-2.5-33.el7.x86_64
--> Processing Dependency: python-IPy for package: policycoreutils-python-2.5-33.el7.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.4)(64bit) for package: policycoreutils-python-2.5-33.el7.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.2)(64bit) for package: policycoreutils-python-2.5-33.el7.x86_64
--> Processing Dependency: libcgroup for package: policycoreutils-python-2.5-33.el7.x86_64
--> Processing Dependency: libapol.so.4(VERS_4.0)(64bit) for package: policycoreutils-python-2.5-33.el7.x86_64
--> Processing Dependency: checkpolicy for package: policycoreutils-python-2.5-33.el7.x86_64
--> Processing Dependency: libqpol.so.1()(64bit) for package: policycoreutils-python-2.5-33.el7.x86_64
--> Processing Dependency: libapol.so.4()(64bit) for package: policycoreutils-python-2.5-33.el7.x86_64
---> Package pytest.noarch 0:2.7.0-2.el7 will be installed
--> Processing Dependency: python-py >= 1.4.25 for package: pytest-2.7.0-2.el7.noarch
--> Processing Dependency: python-setuptools for package: pytest-2.7.0-2.el7.noarch
---> Package python-augeas.noarch 0:0.5.0-2.el7 will be installed
--> Processing Dependency: augeas-libs for package: python-augeas-0.5.0-2.el7.noarch
---> Package python2-acme.noarch 0:1.0.0-1.el7 will be installed
--> Processing Dependency: pyOpenSSL >= 0.13.1 for package: python2-acme-1.0.0-1.el7.noarch
--> Processing Dependency: python2-josepy >= 1.1.0 for package: python2-acme-1.0.0-1.el7.noarch
--> Processing Dependency: python-ndg_httpsclient for package: python2-acme-1.0.0-1.el7.noarch
--> Processing Dependency: python-requests-toolbelt for package: python2-acme-1.0.0-1.el7.noarch
--> Processing Dependency: python2-cryptography for package: python2-acme-1.0.0-1.el7.noarch
--> Processing Dependency: python2-pyasn1 for package: python2-acme-1.0.0-1.el7.noarch
--> Processing Dependency: python2-pyrfc3339 for package: python2-acme-1.0.0-1.el7.noarch
--> Processing Dependency: python2-requests for package: python2-acme-1.0.0-1.el7.noarch
--> Processing Dependency: python2-six for package: python2-acme-1.0.0-1.el7.noarch
--> Processing Dependency: pytz for package: python2-acme-1.0.0-1.el7.noarch
---> Package python2-certbot.noarch 0:1.0.0-1.el7 will be installed
--> Processing Dependency: python-parsedatetime for package: python2-certbot-1.0.0-1.el7.noarch
--> Processing Dependency: python-zope-component for package: python2-certbot-1.0.0-1.el7.noarch
--> Processing Dependency: python-zope-interface for package: python2-certbot-1.0.0-1.el7.noarch
--> Processing Dependency: python2-configargparse for package: python2-certbot-1.0.0-1.el7.noarch
--> Processing Dependency: python2-distro for package: python2-certbot-1.0.0-1.el7.noarch
--> Processing Dependency: python2-future for package: python2-certbot-1.0.0-1.el7.noarch
--> Processing Dependency: python2-mock for package: python2-certbot-1.0.0-1.el7.noarch
--> Running transaction check
---> Package audit-libs-python.x86_64 0:2.8.5-4.el7 will be installed
---> Package augeas-libs.x86_64 0:1.4.0-9.el7 will be installed
---> Package checkpolicy.x86_64 0:2.5-8.el7 will be installed
---> Package libcgroup.x86_64 0:0.41-21.el7 will be installed
---> Package libsemanage-python.x86_64 0:2.5-14.el7 will be installed
---> Package pyOpenSSL.x86_64 0:0.13.1-4.el7 will be installed
---> Package python-IPy.noarch 0:0.75-6.el7 will be installed
---> Package python-ndg_httpsclient.noarch 0:0.3.2-1.el7 will be installed
---> Package python-py.noarch 0:1.4.32-1.el7 will be installed
---> Package python-requests.noarch 0:2.6.0-8.el7_7 will be installed
--> Processing Dependency: python-urllib3 >= 1.10.2-1 for package: python-requests-2.6.0-8.el7_7.noarch
---> Package python-requests-toolbelt.noarch 0:0.8.0-1.el7 will be installed
---> Package python-setuptools.noarch 0:0.9.8-7.el7 will be installed
--> Processing Dependency: python-backports-ssl_match_hostname for package: python-setuptools-0.9.8-7.el7.noarch
---> Package python-zope-component.noarch 1:4.1.0-5.el7 will be installed
--> Processing Dependency: python-zope-event for package: 1:python-zope-component-4.1.0-5.el7.noarch
---> Package python-zope-interface.x86_64 0:4.0.5-4.el7 will be installed
---> Package python2-configargparse.noarch 0:0.11.0-1.el7 will be installed
---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed
--> Processing Dependency: python-six >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64
--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64
--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64
--> Processing Dependency: python-ipaddress for package: python2-cryptography-1.7.2-2.el7.x86_64
--> Processing Dependency: python-enum34 for package: python2-cryptography-1.7.2-2.el7.x86_64
---> Package python2-distro.noarch 0:1.2.0-3.el7 will be installed
---> Package python2-future.noarch 0:0.18.2-2.el7 will be installed
---> Package python2-josepy.noarch 0:1.2.0-1.el7 will be installed
---> Package python2-mock.noarch 0:1.0.1-10.el7 will be installed
---> Package python2-parsedatetime.noarch 0:2.4-5.el7 will be installed
---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed
---> Package python2-pyrfc3339.noarch 0:1.0-2.el7 will be installed
---> Package python2-six.noarch 0:1.9.0-0.el7 will be installed
---> Package pytz.noarch 0:2016.10-2.el7 will be installed
---> Package setools-libs.x86_64 0:3.3.8-4.el7 will be installed
--> Running transaction check
---> Package python-backports-ssl_match_hostname.noarch 0:3.5.0.1-1.el7 will be installed
--> Processing Dependency: python-backports for package: python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch
---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed
--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64
---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed
---> Package python-idna.noarch 0:2.4-1.el7 will be installed
---> Package python-ipaddress.noarch 0:1.0.16-2.el7 will be installed
---> Package python-six.noarch 0:1.9.0-2.el7 will be installed
---> Package python-urllib3.noarch 0:1.10.2-7.el7 will be installed
---> Package python-zope-event.noarch 0:4.0.3-2.el7 will be installed
--> Running transaction check
---> Package python-backports.x86_64 0:1.0-8.el7 will be installed
---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed
--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch
--> Running transaction check
---> Package python-ply.noarch 0:3.4-11.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================
 Package                                 Arch       Version                      Repository   Size
===================================================================================================
Installing:
 certbot                                 noarch     1.0.0-1.el7                  epel         41 k
 python2-certbot-apache                  noarch     1.0.0-1.el7                  epel        107 k
Installing for dependencies:
 audit-libs-python                       x86_64     2.8.5-4.el7                  base         76 k
 augeas-libs                             x86_64     1.4.0-9.el7                  base        356 k
 checkpolicy                             x86_64     2.5-8.el7                    base        295 k
 libcgroup                               x86_64     0.41-21.el7                  base         66 k
 libsemanage-python                      x86_64     2.5-14.el7                   base        113 k
 mod_ssl                                 x86_64     1:2.4.6-90.el7.centos        base        112 k
 policycoreutils-python                  x86_64     2.5-33.el7                   base        457 k
 pyOpenSSL                               x86_64     0.13.1-4.el7                 base        135 k
 pytest                                  noarch     2.7.0-2.el7                  base        757 k
 python-IPy                              noarch     0.75-6.el7                   base         32 k
 python-augeas                           noarch     0.5.0-2.el7                  base         25 k
 python-backports                        x86_64     1.0-8.el7                    base        5.8 k
 python-backports-ssl_match_hostname     noarch     3.5.0.1-1.el7                base         13 k
 python-cffi                             x86_64     1.6.0-5.el7                  base        218 k
 python-enum34                           noarch     1.0.4-1.el7                  base         52 k
 python-idna                             noarch     2.4-1.el7                    base         94 k
 python-ipaddress                        noarch     1.0.16-2.el7                 base         34 k
 python-ndg_httpsclient                  noarch     0.3.2-1.el7                  epel         43 k
 python-ply                              noarch     3.4-11.el7                   base        123 k
 python-py                               noarch     1.4.32-1.el7                 base        341 k
 python-pycparser                        noarch     2.14-1.el7                   base        104 k
 python-requests                         noarch     2.6.0-8.el7_7                updates      95 k
 python-requests-toolbelt                noarch     0.8.0-1.el7                  epel         77 k
 python-setuptools                       noarch     0.9.8-7.el7                  base        397 k
 python-six                              noarch     1.9.0-2.el7                  base         29 k
 python-urllib3                          noarch     1.10.2-7.el7                 base        103 k
 python-zope-component                   noarch     1:4.1.0-5.el7                epel        228 k
 python-zope-event                       noarch     4.0.3-2.el7                  epel         79 k
 python-zope-interface                   x86_64     4.0.5-4.el7                  base        138 k
 python2-acme                            noarch     1.0.0-1.el7                  epel         74 k
 python2-certbot                         noarch     1.0.0-1.el7                  epel        358 k
 python2-configargparse                  noarch     0.11.0-1.el7                 epel         30 k
 python2-cryptography                    x86_64     1.7.2-2.el7                  base        502 k
 python2-distro                          noarch     1.2.0-3.el7                  epel         29 k
 python2-future                          noarch     0.18.2-2.el7                 epel        806 k
 python2-josepy                          noarch     1.2.0-1.el7                  epel         89 k
 python2-mock                            noarch     1.0.1-10.el7                 epel         92 k
 python2-parsedatetime                   noarch     2.4-5.el7                    epel         78 k
 python2-pyasn1                          noarch     0.1.9-7.el7                  base        100 k
 python2-pyrfc3339                       noarch     1.0-2.el7                    epel         13 k
 python2-six                             noarch     1.9.0-0.el7                  epel        2.9 k
 pytz                                    noarch     2016.10-2.el7                base         46 k
 setools-libs                            x86_64     3.3.8-4.el7                  base        620 k

Transaction Summary
===================================================================================================
Install  2 Packages (+43 Dependent packages)

Total download size: 7.4 M
Installed size: 33 M
Is this ok [y/d/N]: y
Downloading packages:
(1/45): audit-libs-python-2.8.5-4.el7.x86_64.rpm                            |  76 kB  00:00:15     
(2/45): augeas-libs-1.4.0-9.el7.x86_64.rpm                                  | 356 kB  00:00:15     
(3/45): libcgroup-0.41-21.el7.x86_64.rpm                                    |  66 kB  00:00:00     
(4/45): checkpolicy-2.5-8.el7.x86_64.rpm                                    | 295 kB  00:00:00     
(5/45): libsemanage-python-2.5-14.el7.x86_64.rpm                            | 113 kB  00:00:00     
(6/45): mod_ssl-2.4.6-90.el7.centos.x86_64.rpm                              | 112 kB  00:00:00     
(7/45): pyOpenSSL-0.13.1-4.el7.x86_64.rpm                                   | 135 kB  00:00:00     
(8/45): policycoreutils-python-2.5-33.el7.x86_64.rpm                        | 457 kB  00:00:00     
(9/45): python-IPy-0.75-6.el7.noarch.rpm                                    |  32 kB  00:00:00     
(10/45): python-augeas-0.5.0-2.el7.noarch.rpm                               |  25 kB  00:00:00     
(11/45): pytest-2.7.0-2.el7.noarch.rpm                                      | 757 kB  00:00:00     
(12/45): python-backports-1.0-8.el7.x86_64.rpm                              | 5.8 kB  00:00:00     
(13/45): python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch.rpm       |  13 kB  00:00:00     
(14/45): python-cffi-1.6.0-5.el7.x86_64.rpm                                 | 218 kB  00:00:00     
(15/45): python-enum34-1.0.4-1.el7.noarch.rpm                               |  52 kB  00:00:00     
(16/45): python-idna-2.4-1.el7.noarch.rpm                                   |  94 kB  00:00:00     
(17/45): python-ipaddress-1.0.16-2.el7.noarch.rpm                           |  34 kB  00:00:00     
(18/45): certbot-1.0.0-1.el7.noarch.rpm                                     |  41 kB  00:00:16     
(19/45): python-ply-3.4-11.el7.noarch.rpm                                   | 123 kB  00:00:00     
(20/45): python-pycparser-2.14-1.el7.noarch.rpm                             | 104 kB  00:00:00     
(21/45): python-ndg_httpsclient-0.3.2-1.el7.noarch.rpm                      |  43 kB  00:00:00     
(22/45): python-setuptools-0.9.8-7.el7.noarch.rpm                           | 397 kB  00:00:00     
(23/45): python-six-1.9.0-2.el7.noarch.rpm                                  |  29 kB  00:00:00     
(24/45): python-requests-toolbelt-0.8.0-1.el7.noarch.rpm                    |  77 kB  00:00:00     
(25/45): python-urllib3-1.10.2-7.el7.noarch.rpm                             | 103 kB  00:00:00     
(26/45): python-zope-component-4.1.0-5.el7.noarch.rpm                       | 228 kB  00:00:00     
(27/45): python-zope-interface-4.0.5-4.el7.x86_64.rpm                       | 138 kB  00:00:00     
(28/45): python-zope-event-4.0.3-2.el7.noarch.rpm                           |  79 kB  00:00:00     
(29/45): python2-acme-1.0.0-1.el7.noarch.rpm                                |  74 kB  00:00:00     
(30/45): python2-certbot-1.0.0-1.el7.noarch.rpm                             | 358 kB  00:00:00     
(31/45): python2-certbot-apache-1.0.0-1.el7.noarch.rpm                      | 107 kB  00:00:00     
(32/45): python2-configargparse-0.11.0-1.el7.noarch.rpm                     |  30 kB  00:00:00     
(33/45): python2-cryptography-1.7.2-2.el7.x86_64.rpm                        | 502 kB  00:00:00     
(34/45): python2-distro-1.2.0-3.el7.noarch.rpm                              |  29 kB  00:00:00     
(35/45): python2-future-0.18.2-2.el7.noarch.rpm                             | 806 kB  00:00:00     
(36/45): python2-josepy-1.2.0-1.el7.noarch.rpm                              |  89 kB  00:00:00     
(37/45): python2-mock-1.0.1-10.el7.noarch.rpm                               |  92 kB  00:00:00     
(38/45): python2-pyasn1-0.1.9-7.el7.noarch.rpm                              | 100 kB  00:00:00     
(39/45): python2-parsedatetime-2.4-5.el7.noarch.rpm                         |  78 kB  00:00:00     
(40/45): python2-pyrfc3339-1.0-2.el7.noarch.rpm                             |  13 kB  00:00:00     
(41/45): pytz-2016.10-2.el7.noarch.rpm                                      |  46 kB  00:00:00     
(42/45): python2-six-1.9.0-0.el7.noarch.rpm                                 | 2.9 kB  00:00:00     
(43/45): setools-libs-3.3.8-4.el7.x86_64.rpm                                | 620 kB  00:00:00     
(44/45): python-py-1.4.32-1.el7.noarch.rpm                                  | 341 kB  00:00:15     
(45/45): python-requests-2.6.0-8.el7_7.noarch.rpm                           |  95 kB  00:00:15     
---------------------------------------------------------------------------------------------------
Total                                                              234 kB/s | 7.4 MB  00:00:32     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : python2-pyasn1-0.1.9-7.el7.noarch                                              1/45 
  Installing : python-ipaddress-1.0.16-2.el7.noarch                                           2/45 
  Installing : pyOpenSSL-0.13.1-4.el7.x86_64                                                  3/45 
  Installing : python-six-1.9.0-2.el7.noarch                                                  4/45 
  Installing : python2-six-1.9.0-0.el7.noarch                                                 5/45 
  Installing : python-zope-interface-4.0.5-4.el7.x86_64                                       6/45 
  Installing : python2-future-0.18.2-2.el7.noarch                                             7/45 
  Installing : pytz-2016.10-2.el7.noarch                                                      8/45 
  Installing : python2-pyrfc3339-1.0-2.el7.noarch                                             9/45 
  Installing : python2-parsedatetime-2.4-5.el7.noarch                                        10/45 
  Installing : libcgroup-0.41-21.el7.x86_64                                                  11/45 
  Installing : python2-distro-1.2.0-3.el7.noarch                                             12/45 
  Installing : python-zope-event-4.0.3-2.el7.noarch                                          13/45 
  Installing : 1:python-zope-component-4.1.0-5.el7.noarch                                    14/45 
  Installing : audit-libs-python-2.8.5-4.el7.x86_64                                          15/45 
  Installing : 1:mod_ssl-2.4.6-90.el7.centos.x86_64                                          16/45 
  Installing : python-backports-1.0-8.el7.x86_64                                             17/45 
  Installing : python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch                      18/45 
  Installing : python-setuptools-0.9.8-7.el7.noarch                                          19/45 
  Installing : python-py-1.4.32-1.el7.noarch                                                 20/45 
  Installing : pytest-2.7.0-2.el7.noarch                                                     21/45 
  Installing : python-ndg_httpsclient-0.3.2-1.el7.noarch                                     22/45 
  Installing : python-urllib3-1.10.2-7.el7.noarch                                            23/45 
  Installing : python-requests-2.6.0-8.el7_7.noarch                                          24/45 
  Installing : python-requests-toolbelt-0.8.0-1.el7.noarch                                   25/45 
  Installing : libsemanage-python-2.5-14.el7.x86_64                                          26/45 
  Installing : python-ply-3.4-11.el7.noarch                                                  27/45 
  Installing : python-pycparser-2.14-1.el7.noarch                                            28/45 
  Installing : python-cffi-1.6.0-5.el7.x86_64                                                29/45 
  Installing : python-idna-2.4-1.el7.noarch                                                  30/45 
  Installing : setools-libs-3.3.8-4.el7.x86_64                                               31/45 
  Installing : python-IPy-0.75-6.el7.noarch                                                  32/45 
  Installing : python2-configargparse-0.11.0-1.el7.noarch                                    33/45 
  Installing : checkpolicy-2.5-8.el7.x86_64                                                  34/45 
  Installing : policycoreutils-python-2.5-33.el7.x86_64                                      35/45 
  Installing : python2-mock-1.0.1-10.el7.noarch                                              36/45 
  Installing : python-enum34-1.0.4-1.el7.noarch                                              37/45 
  Installing : python2-cryptography-1.7.2-2.el7.x86_64                                       38/45 
  Installing : python2-josepy-1.2.0-1.el7.noarch                                             39/45 
  Installing : python2-acme-1.0.0-1.el7.noarch                                               40/45 
  Installing : python2-certbot-1.0.0-1.el7.noarch                                            41/45 
  Installing : certbot-1.0.0-1.el7.noarch                                                    42/45 
  Installing : augeas-libs-1.4.0-9.el7.x86_64                                                43/45 
  Installing : python-augeas-0.5.0-2.el7.noarch                                              44/45 
  Installing : python2-certbot-apache-1.0.0-1.el7.noarch                                     45/45 
  Verifying  : python-augeas-0.5.0-2.el7.noarch                                               1/45 
  Verifying  : 1:python-zope-component-4.1.0-5.el7.noarch                                     2/45 
  Verifying  : python2-six-1.9.0-0.el7.noarch                                                 3/45 
  Verifying  : augeas-libs-1.4.0-9.el7.x86_64                                                 4/45 
  Verifying  : python-py-1.4.32-1.el7.noarch                                                  5/45 
  Verifying  : python-requests-toolbelt-0.8.0-1.el7.noarch                                    6/45 
  Verifying  : python-enum34-1.0.4-1.el7.noarch                                               7/45 
  Verifying  : python2-josepy-1.2.0-1.el7.noarch                                              8/45 
  Verifying  : python-setuptools-0.9.8-7.el7.noarch                                           9/45 
  Verifying  : python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch                      10/45 
  Verifying  : python2-mock-1.0.1-10.el7.noarch                                              11/45 
  Verifying  : python-urllib3-1.10.2-7.el7.noarch                                            12/45 
  Verifying  : checkpolicy-2.5-8.el7.x86_64                                                  13/45 
  Verifying  : python2-pyrfc3339-1.0-2.el7.noarch                                            14/45 
  Verifying  : python2-parsedatetime-2.4-5.el7.noarch                                        15/45 
  Verifying  : python2-configargparse-0.11.0-1.el7.noarch                                    16/45 
  Verifying  : pytz-2016.10-2.el7.noarch                                                     17/45 
  Verifying  : python2-future-0.18.2-2.el7.noarch                                            18/45 
  Verifying  : python-IPy-0.75-6.el7.noarch                                                  19/45 
  Verifying  : python-six-1.9.0-2.el7.noarch                                                 20/45 
  Verifying  : python-ndg_httpsclient-0.3.2-1.el7.noarch                                     21/45 
  Verifying  : setools-libs-3.3.8-4.el7.x86_64                                               22/45 
  Verifying  : python-idna-2.4-1.el7.noarch                                                  23/45 
  Verifying  : python-ply-3.4-11.el7.noarch                                                  24/45 
  Verifying  : policycoreutils-python-2.5-33.el7.x86_64                                      25/45 
  Verifying  : libsemanage-python-2.5-14.el7.x86_64                                          26/45 
  Verifying  : python-backports-1.0-8.el7.x86_64                                             27/45 
  Verifying  : 1:mod_ssl-2.4.6-90.el7.centos.x86_64                                          28/45 
  Verifying  : pytest-2.7.0-2.el7.noarch                                                     29/45 
  Verifying  : pyOpenSSL-0.13.1-4.el7.x86_64                                                 30/45 
  Verifying  : audit-libs-python-2.8.5-4.el7.x86_64                                          31/45 
  Verifying  : python-cffi-1.6.0-5.el7.x86_64                                                32/45 
  Verifying  : python2-acme-1.0.0-1.el7.noarch                                               33/45 
  Verifying  : python-pycparser-2.14-1.el7.noarch                                            34/45 
  Verifying  : python2-certbot-apache-1.0.0-1.el7.noarch                                     35/45 
  Verifying  : certbot-1.0.0-1.el7.noarch                                                    36/45 
  Verifying  : python-requests-2.6.0-8.el7_7.noarch                                          37/45 
  Verifying  : python-zope-event-4.0.3-2.el7.noarch                                          38/45 
  Verifying  : python2-distro-1.2.0-3.el7.noarch                                             39/45 
  Verifying  : python-ipaddress-1.0.16-2.el7.noarch                                          40/45 
  Verifying  : python2-pyasn1-0.1.9-7.el7.noarch                                             41/45 
  Verifying  : python-zope-interface-4.0.5-4.el7.x86_64                                      42/45 
  Verifying  : python2-cryptography-1.7.2-2.el7.x86_64                                       43/45 
  Verifying  : python2-certbot-1.0.0-1.el7.noarch                                            44/45 
  Verifying  : libcgroup-0.41-21.el7.x86_64                                                  45/45 

Installed:
  certbot.noarch 0:1.0.0-1.el7             python2-certbot-apache.noarch 0:1.0.0-1.el7            

Dependency Installed:
  audit-libs-python.x86_64 0:2.8.5-4.el7                                                           
  augeas-libs.x86_64 0:1.4.0-9.el7                                                                 
  checkpolicy.x86_64 0:2.5-8.el7                                                                   
  libcgroup.x86_64 0:0.41-21.el7                                                                   
  libsemanage-python.x86_64 0:2.5-14.el7                                                           
  mod_ssl.x86_64 1:2.4.6-90.el7.centos                                                             
  policycoreutils-python.x86_64 0:2.5-33.el7                                                       
  pyOpenSSL.x86_64 0:0.13.1-4.el7                                                                  
  pytest.noarch 0:2.7.0-2.el7                                                                      
  python-IPy.noarch 0:0.75-6.el7                                                                   
  python-augeas.noarch 0:0.5.0-2.el7                                                               
  python-backports.x86_64 0:1.0-8.el7                                                              
  python-backports-ssl_match_hostname.noarch 0:3.5.0.1-1.el7                                       
  python-cffi.x86_64 0:1.6.0-5.el7                                                                 
  python-enum34.noarch 0:1.0.4-1.el7                                                               
  python-idna.noarch 0:2.4-1.el7                                                                   
  python-ipaddress.noarch 0:1.0.16-2.el7                                                           
  python-ndg_httpsclient.noarch 0:0.3.2-1.el7                                                      
  python-ply.noarch 0:3.4-11.el7                                                                   
  python-py.noarch 0:1.4.32-1.el7                                                                  
  python-pycparser.noarch 0:2.14-1.el7                                                             
  python-requests.noarch 0:2.6.0-8.el7_7                                                           
  python-requests-toolbelt.noarch 0:0.8.0-1.el7                                                    
  python-setuptools.noarch 0:0.9.8-7.el7                                                           
  python-six.noarch 0:1.9.0-2.el7                                                                  
  python-urllib3.noarch 0:1.10.2-7.el7                                                             
  python-zope-component.noarch 1:4.1.0-5.el7                                                       
  python-zope-event.noarch 0:4.0.3-2.el7                                                           
  python-zope-interface.x86_64 0:4.0.5-4.el7                                                       
  python2-acme.noarch 0:1.0.0-1.el7                                                                
  python2-certbot.noarch 0:1.0.0-1.el7                                                             
  python2-configargparse.noarch 0:0.11.0-1.el7                                                     
  python2-cryptography.x86_64 0:1.7.2-2.el7                                                        
  python2-distro.noarch 0:1.2.0-3.el7                                                              
  python2-future.noarch 0:0.18.2-2.el7                                                             
  python2-josepy.noarch 0:1.2.0-1.el7                                                              
  python2-mock.noarch 0:1.0.1-10.el7                                                               
  python2-parsedatetime.noarch 0:2.4-5.el7                                                         
  python2-pyasn1.noarch 0:0.1.9-7.el7                                                              
  python2-pyrfc3339.noarch 0:1.0-2.el7                                                             
  python2-six.noarch 0:1.9.0-0.el7                                                                 
  pytz.noarch 0:2016.10-2.el7                                                                      
  setools-libs.x86_64 0:3.3.8-4.el7                                                                

Complete!

Checking Certbot version

Use the following CLI command to see the current version of Certbot installed on your system.

certbot --version
certbot version

Where to go next?

Now that you’ve successfully installed Certbot on your Linux CentOS 7 you can run, see the following article.