I recently migrated from a Centos 7 / Apache server running cPanel 68 to a new server running Centos 7 Apache running cPanel 70.
I need to install LetsEncrypt/Certbot, but it’s failing at the end saying mod_ssl isn’t installed (but it does exist in /etc/apache2/modules directory). Any ideas how to get certbot installed successfully on this server? See install output below…
Thanks!
[root@gromit /]# yum install certbot-apache
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
- EA4: 208.100.0.204
- cpanel-addons-production-feed: 208.100.0.204
- base: mirror.den1.denvercolo.net
- epel: mirror.steadfast.net
- extras: mirror.ash.fastserv.com
- updates: mirror.grid.uchicago.edu
Resolving Dependencies
–> Running transaction check
—> Package python2-certbot-apache.noarch 0:0.24.0-2.el7 will be installed
–> Processing Dependency: certbot >= 0.21.1 for package: python2-certbot-apache-0.24.0-2.el7.noarch
–> Processing Dependency: python2-certbot >= 0.21.1 for package: python2-certbot-apache-0.24.0-2.el7.noarch
–> Processing Dependency: mod_ssl for package: python2-certbot-apache-0.24.0-2.el7.noarch
–> Processing Dependency: python-augeas for package: python2-certbot-apache-0.24.0-2.el7.noarch
–> Running transaction check
—> Package certbot.noarch 0:0.24.0-1.el7 will be installed
–> Processing Dependency: /usr/sbin/semanage for package: certbot-0.24.0-1.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-certbot.noarch 0:0.24.0-1.el7 will be installed
–> Processing Dependency: python2-acme > 0.21.1 for package: python2-certbot-0.24.0-1.el7.noarch
–> Processing Dependency: python-parsedatetime for package: python2-certbot-0.24.0-1.el7.noarch
–> Processing Dependency: python-zope-component for package: python2-certbot-0.24.0-1.el7.noarch
–> Processing Dependency: python-zope-interface for package: python2-certbot-0.24.0-1.el7.noarch
–> Processing Dependency: python2-configargparse for package: python2-certbot-0.24.0-1.el7.noarch
–> Processing Dependency: python2-cryptography for package: python2-certbot-0.24.0-1.el7.noarch
–> Processing Dependency: python2-future for package: python2-certbot-0.24.0-1.el7.noarch
–> Processing Dependency: python2-josepy for package: python2-certbot-0.24.0-1.el7.noarch
–> Processing Dependency: python2-mock for package: python2-certbot-0.24.0-1.el7.noarch
–> Processing Dependency: python2-pyrfc3339 for package: python2-certbot-0.24.0-1.el7.noarch
–> Processing Dependency: pytz for package: python2-certbot-0.24.0-1.el7.noarch
—> Package python2-certbot-apache.noarch 0:0.24.0-2.el7 will be installed
–> Processing Dependency: mod_ssl for package: python2-certbot-apache-0.24.0-2.el7.noarch
–> Running transaction check
—> Package augeas-libs.x86_64 0:1.4.0-5.el7_5.1 will be installed
—> Package policycoreutils-python.x86_64 0:2.5-22.el7 will be installed
–> Processing Dependency: setools-libs >= 3.3.8-2 for package: policycoreutils-python-2.5-22.el7.x86_64
–> Processing Dependency: libsemanage-python >= 2.5-9 for package: policycoreutils-python-2.5-22.el7.x86_64
–> Processing Dependency: audit-libs-python >= 2.1.3-4 for package: policycoreutils-python-2.5-22.el7.x86_64
–> Processing Dependency: python-IPy for package: policycoreutils-python-2.5-22.el7.x86_64
–> Processing Dependency: libqpol.so.1(VERS_1.4)(64bit) for package: policycoreutils-python-2.5-22.el7.x86_64
–> Processing Dependency: libqpol.so.1(VERS_1.2)(64bit) for package: policycoreutils-python-2.5-22.el7.x86_64
–> Processing Dependency: libcgroup for package: policycoreutils-python-2.5-22.el7.x86_64
–> Processing Dependency: libapol.so.4(VERS_4.0)(64bit) for package: policycoreutils-python-2.5-22.el7.x86_64
–> Processing Dependency: checkpolicy for package: policycoreutils-python-2.5-22.el7.x86_64
–> Processing Dependency: libqpol.so.1()(64bit) for package: policycoreutils-python-2.5-22.el7.x86_64
–> Processing Dependency: libapol.so.4()(64bit) for package: policycoreutils-python-2.5-22.el7.x86_64
—> Package python-zope-component.noarch 1:4.1.0-3.el7 will be installed
–> Processing Dependency: python-zope-event for package: 1:python-zope-component-4.1.0-3.el7.noarch
—> Package python-zope-interface.x86_64 0:4.0.5-4.el7 will be installed
—> Package python2-acme.noarch 0:0.24.0-1.el7 will be installed
–> Processing Dependency: pyOpenSSL >= 0.13 for package: python2-acme-0.24.0-1.el7.noarch
–> Processing Dependency: python-ndg_httpsclient for package: python2-acme-0.24.0-1.el7.noarch
–> Processing Dependency: python2-pyasn1 for package: python2-acme-0.24.0-1.el7.noarch
–> Processing Dependency: python2-requests for package: python2-acme-0.24.0-1.el7.noarch
–> Processing Dependency: python2-six for package: python2-acme-0.24.0-1.el7.noarch
—> Package python2-certbot-apache.noarch 0:0.24.0-2.el7 will be installed
–> Processing Dependency: mod_ssl for package: python2-certbot-apache-0.24.0-2.el7.noarch
—> 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-enum34 for package: python2-cryptography-1.7.2-2.el7.x86_64
—> Package python2-future.noarch 0:0.16.0-6.el7 will be installed
—> Package python2-josepy.noarch 0:1.1.0-1.el7 will be installed
—> Package python2-mock.noarch 0:1.0.1-9.el7 will be installed
—> Package python2-parsedatetime.noarch 0:2.4-5.el7 will be installed
—> Package python2-pyrfc3339.noarch 0:1.0-2.el7 will be installed
—> Package pytz.noarch 0:2016.10-2.el7 will be installed
–> Running transaction check
—> Package audit-libs-python.x86_64 0:2.8.1-3.el7 will be installed
—> Package checkpolicy.x86_64 0:2.5-6.el7 will be installed
—> Package libcgroup.x86_64 0:0.41-15.el7 will be installed
—> Package libsemanage-python.x86_64 0:2.5-11.el7 will be installed
—> Package pyOpenSSL.x86_64 0:0.13.1-3.el7 will be installed
—> Package python-IPy.noarch 0:0.75-6.el7 will be installed
—> 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-ndg_httpsclient.noarch 0:0.3.2-1.el7 will be installed
—> Package python-six.noarch 0:1.9.0-2.el7 will be installed
—> Package python-zope-event.noarch 0:4.0.3-2.el7 will be installed
—> Package python2-certbot-apache.noarch 0:0.24.0-2.el7 will be installed
–> Processing Dependency: mod_ssl for package: python2-certbot-apache-0.24.0-2.el7.noarch
—> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed
—> Package python2-requests.noarch 0:2.6.0-0.el7 will be installed
–> Processing Dependency: python-requests >= 2.6.0 for package: python2-requests-2.6.0-0.el7.noarch
—> Package python2-six.noarch 0:1.9.0-0.el7 will be installed
—> Package setools-libs.x86_64 0:3.3.8-2.el7 will be installed
–> Running transaction check
—> 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
—> Package python-requests.noarch 0:2.6.0-1.el7_1 will be installed
–> Processing Dependency: python-urllib3 >= 1.10.2-1 for package: python-requests-2.6.0-1.el7_1.noarch
—> Package python2-certbot-apache.noarch 0:0.24.0-2.el7 will be installed
–> Processing Dependency: mod_ssl for package: python2-certbot-apache-0.24.0-2.el7.noarch
–> Running transaction check
—> Package python-ply.noarch 0:3.4-11.el7 will be installed
—> Package python-urllib3.noarch 0:1.10.2-5.el7 will be installed
—> Package python2-certbot-apache.noarch 0:0.24.0-2.el7 will be installed
–> Processing Dependency: mod_ssl for package: python2-certbot-apache-0.24.0-2.el7.noarch
–> Finished Dependency Resolution
Error: Package: python2-certbot-apache-0.24.0-2.el7.noarch (epel)
Requires: mod_ssl
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest