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?
Can you try to see if the below commands work? sudo certbot renew --dry-run --config-dir /home/ssl/one --work-dir /home/ssl/two --logs-dir /home/ssl/three
Basically, if you didn't specify the config-dir, certbot will use the default directory which is under /etc/letsencrypt/.
If the above command works, you might also need to replicate the renewal command (found under your crontab or systemd timer) to include the additional flags. (You still need to keep the original line because you have one certificate under that directory)
If you have a timer, then you should also have a service file under the same name. Try to duplicate both the timer and service file to include the additional "dir" arguments in my previous post.