Missing certbot-auto

I have Apache and Centos 7.
I selected Apache on CentOS/RHEL 7
and executed: sudo yum install python-certbot-apache

It now reports that everything is ok:

Package python2-certbot-apache-0.9.3-1.el7.noarch already installed and latest version
Nothing to do

I can ran certbot, but on certbot-auto it fails:command not found

I even did: sudo find / -name ‘certbot-auto’ <- no results

Any ideas?

Why would you like to run certbot-auto if you have certbot? certbot-auto is a wrapper to install certbot in a virtualenv-environment for distributions without a certbot package in their repository.

To be honest… I tried the certbot and failed. Then I started reading documentation and found that I’m missing a script that is commonly referred to.

Running certbot failed because it didn’t find my VirtaulHost configuration. It didn’t because it was trying to find one in /etc/httpd/conf.d/ssl.conf while my setting is in /etc/httpd/conf/virtual-host.conf. It is not only different config name but also different directory. I coudn’t also find a way to point it to the right file.

Even more than that - I don’t want letscript to do any automatic updates on my config files. I have already installed a certificate for one domain (a toll cetrificate) and now I want make other other (deprecated) domain names to https redirect 301 to the main domain (like Subject Alternative Names).

Well, certbot-auto isn’t going to do anything about all of that, because like I said, it’s just a installation wrapper around certbot.

Anyway, there are many, many options to run certbot. Try the certonly mode with the webroot plugin. In that mode it doesn’t change anything in your Apache configuration.

Furthermore, there are many other clients available if certbot just isn’t right for you: https://letsencrypt.org/docs/client-options/

The bash clients are obviously very lightweight.

Thanks. Eventually, it passed through. I did not install it yet, but it has already generated .pem.

  • Congratulations! Your certificate and chain have been saved at /etc/letsencrypt/live/www.teleadreson.com/fullchain.pem. (…)

For anybody checking on this thread in the future, certbot-auto and certbot do the same thing and should be used interchangeably: if you installed Certbot via a tool like apt, yum, emerge, or similar, then you have certbot, while if you installed Certbot by downloading the script from EFF’s web site with wget, then you have certbot-auto instead. Generally, each user will have one or the other depending on how they installed Certbot.

Whenever you see instructions anywhere that refer to one form, you should use the other form, if it’s applicable to your system.

This is mentioned in EFF’s documentation, but it’s not repeated everywhere that example commands are given, and it’s not necessarily mentioned at all in forum threads or other people’s documentation.

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