Web console not responding after letsencrypt upgrade fail

Hey,

you’re kind of in a catch-22 situation: the web server needs the certificate to be present in order to be able to start, but in order to re-create the certificate the web server must be running.

So what I’d try first instead of reinstalling is getting the web server up and running and updating the certificates:

  1. Edit /etc/apache2/sites-available/univention-letsencrypt.conf and comment-out all VirtualHost entries completely.
  2. Try starting Apache: systemctl restart apache2 followed by systemctl status apache2
  3. If it’s running, try updating the certificates: /usr/share/univention-letsencrypt/refresh-cert-cron (post the output if this doesn’t work or doesn’t create the certificates)
  4. Re-create the configuration file modified in step 1: ucr commit /etc/apache2/sites-available/univention-letsencrypt.conf
  5. Restart Apache once more like in step 2

If all of those steps succeed, your setup should be OK again.

m.

2 Likes