I have many letsencrypt certificates with apache authentification. They are very well updated automatically.
I have one certificate (xmpp), that has standalone authentification. This one always fails because I have to stop apache in order to use it.
Now, to solve my problem I could add a cronjob that stops apache, runs certbot certonly -d xmpp.host.de --standalone --non-interactive
and restarts apache. The problem is that in 99% I'm stopping apache without reason, because the cert isn't expired.
I didn't find a really good solution to that problem. How do you solve that?