Addressing this response as well as several others not sent to the list.
I have not added any vhosts and standalone does not appear anywhere in the setup. The initial setup output was:
INITIAL CERTIFICATE SETUP:
certbot certonly --webroot
LATEST CERTIFICATE UPDATE:
ADDING A NEW SAN:
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
Your key file has been saved at:
Your cert will expire on 2020-05-28. To obtain a new or tweaked
version of this certificate in the future, simply run certbot
again. To non-interactively renew *all* of your certificates, run
"certbot renew"
- If you like Certbot, please consider supporting our work by:
Since thqt time, I added a vhost and that had no issues. However, recently a client went elsewhere and I deleted a vhost. All I did was remove the vhost entry in the renew command which now reads:
#!/bin/sh -e
echo "Starting renew"
cd /www/certs
export PATH=/www/certs:$PATH
echo $PATH
certbot renew --webroot-path /www --key-type rsa
echo "RC = $RC"
echo "End of renew"
Since that doesn't list the domains, I suspect I did a command something like:
However, I am not sure. Obviously certbot saves the domain names somewhere and perhaps the deleted one is still there and certbot is trying to renew it with a default of standalone.
My web server is setup to handle the certbot challenges and has worked for some time.
-- Doug