No package certbot available

VikasBhat picture VikasBhat · Nov 29, 2018 · Viewed 8.7k times · Source

I'm trying to install certbot on RHEL server.

Instructions to enable epel-release

# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

then

# subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms"

epel-release-7-11 was installed.

# yum install certbot
Loaded plugins: product-id, search-disabled-repos, subscription-manager
No package certbot available.
Error: Nothing to do

I even downloaded rpm manually from fedora project epel

removed and cleared all cache. But install package is not available.

Answer

William Borgo picture William Borgo · Jan 24, 2019

For future reference, I could install executing the following lines:

sudo yum -y install yum-utils

sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

sudo yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional

sudo yum install certbot

https://certbot.eff.org/lets-encrypt/centosrhel7-other