I just ran certbot --apache certonly -d mydoma.in because automatic renewal was trying to use standalone but the port was not available. I got the following diff in my config:
@@ -9,6 +9,7 @@ fullchain = /etc/letsencrypt/live/mydoma.in/fullchain.pem
# Options used in the renewal process
[renewalparams]
account = 123456789101112131415
-authenticator = standalone
+authenticator = apache
server = https://acme-v02.api.letsencrypt.org/directory
key_type = rsa
+installer = apache
So why does the installer change when I select certonly? Or does that option mean something other than what I think?
--apache Use the Apache plugin for authentication & installation
-a AUTHENTICATOR, --authenticator AUTHENTICATOR
Authenticator plugin name. (default: None)
-i INSTALLER, --installer INSTALLER
Installer plugin name (also used to find domains).
(default: None)
The installer value in the renewal config is ignored for renew command. Because of authenticator=apache it will make temp changes to your Apache config and reload Apache when complete.
This
Only certbot [run] and certbot install will update SSLCertificateFile in the web server configuration. Renewal will cause a web server reload only.