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.
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.