Certbot NGINX plugin not available for CentOS 7?

We’re using CentOS 7 and we run NGINX. The NGINX plugin would be the perfect way to obtain the SSL certificate and configure NGINX. I just can’t install Let’s Encrpt’s NGINX plugin. Where/How do I install it?

certbot -v

shows me that these plugins are installed (and that the NGINX plugin is missing):

certbot version: 0.12.0
Arguments: ['-v']
Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#webroot,PluginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalone)

yum install python-certbot-nginx

results in “package not found”, but installing the apache plugin works just fine:

yum install python-certbot-apache

Fedora also seems to be lacking the NGINX plugin.

Help?

hi @a5cent

review: https://certbot.eff.org/#centosrhel7-nginx

Andrei

@ahaw021 That piece of the screenshot doesn’t say anything about the nginx plugin. The webserver specific plugins are separate packages, so installing only certbot doesn’t help @a5cent. Mostly because he already did that.

@a5cent To expand on @ahaw021’s post: unfortunately, the EPEL repository doesn’t provide the nginx plugin. As you can see from the list of packages starting with p and search for certbot, you can see EPEL provides certbot itself and the certbot-apache plugin.

Perhaps you can file an issue with the EPEL maintainers, as this isn’t something Let’s Encrypt can fix for you.

1 Like

@Osiris

sorry I should have filled it out a bit more

Thanks for updating

Andrei

following on you can try the alternative methods

Advanced Install

Install

Since it doesn’t seem like your operating system has a packaged version of Certbot, you should use our certbot-auto script to get a copy:

wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto

certbot-auto accepts the same flags as certbot; it is a wrapper that installs all of its own dependencies and updates the client code automatically. So you can just run:

you can also try pip install certbot-nginx if your python packages are in good order

2 Likes

Thanks to both of you! certbot-auto did the trick. I was aware it existed but up until now didn’t understand what for (not a lot of documentation on that). I will also file a request with the EPEL maintainers.

If our setup (Fedora based OS with NGINX but without Apache) were more common I suspect this issue would be mentioned all over the web. Hope this helps someone else too.

Thanks again!

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