How do I remove the main letsencrypt certificate and generate a new one from letsencrypt when I cannot get into the ispconfig web panel and when the current certificate has not expired? I have run the htf-common-issues.php script and I have run the ispconfig_update.sh script. This problem came about because when I renewed the certificate and it named the file mail.mydomain.com-00001 instead of mail.mydomain.com. All of my users are down I desperately need to get this fixed. Any help is appreciated!
Duplicate of: https://www.howtoforge.com/communit...-8080-after-manual-letsencrypt-renewal.87831/ You removed them already which is the cause of your current issue as the services don't start because the certs have been removed by you. So asking how to remove certs when your issue is caused by the fact that you removed them already will not help you to solve the problem.
As @till said. Though you should be able to test your web server (e.g. nginx -t for nginx web server) and delete the web sites vhost that caused error for your web server to restart from sites-enabled folder.
He removed the ISPConfig cert, so he would remove ISPConfig vhost by doing this. I wonder why he did not got a new cert by using the ispconfig update. @comsupany What you can try is to remove the symlinks to the SSL cert in /usr/local/ispconfig/interface/ssl/ and rerun the ISPConfig update.
His most recent post in the other/duplicate thread reminds me of https://git.ispconfig.org/ispconfig/ispconfig3/-/merge_requests/1527 and indeed the workaround would be to remove the symlinks and run the updater to request a certificate again.