I have an app called Superstar Band Manager which has the facility to load and save games from urls on http://superstar.band.
This has been working fine for years before using any SSL certificate and continued to work when I added the Letsencrypt SSL certificate a few months ago.
However, after recent emails from Letsencrypt, saying action is required as my "client used ACME TLS-SNI-01 domain validation to issue a certificate in the past 7 days. " I set to work fixing this issue.
I updated Certbot to the latest version but when I tried a dry-run, I got the following error:
"Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80… Skipping.
All renewal attempts failed. The following certs could not be renewed…"
After some Googling, forum trawling etc, I added a file to the conf.d folder which consisted of:
Bingo! After rebooting Apache, I did a dry run and the certificate renewed successfully.
However, a few days later, I’m getting complaints that the in-app loading and saving isn’t working.
I tried it myself and yes, loading and saving isn’t working.
So I deleted the new file from the conf.d folder, rebooted Apache and loading and saving is working again…
… but the Certbot dry run is failing again!
My question is: how can I set it up so that both loading and saving and Certbot will work correctly?
I have a Crontab set up that runs Certbot every night and have happily left it doing its thing until this recent change I had to make.
Hope you can help.