I have three sites with which I am trying to setup SSL for.
For one domain, everything is fine along with automatic renewal. I set that up via the standard certbot command.
That gets installed in the default folder, without me making configurations.
However, I have two other domains which I have installed through a different method, via the following command:
certbot certonly --webroot -w ../var/www/DOMAIN_ONE' -d {DOMAIN_ONE} --config-dir /home/ssl/one --work-dir /home/ssl/two --logs-dir /home/ssl/three --email example@example.com --agree-tos --force-renewal
The code above was repeated twice for each of the two domains.
Three custom directories were made for that, as opposed to the default found in /etc/letsencrypt/.
SSL was installed fine but renewals in this custom directory don't work for some reason.
How can I get renewals to work for both locations? /etc/letsencrypt and /home/ssl ...rather than storing them all in /etc/letsencrypt
As a side question, I am able to run sudo certbot renew --dry-run to test if renewals work but that only works for the /etc/letsencrypt directory. Is there a way to test for both?
Thanks!