How to safely remove and renew letsencrypt certificates

Discussion in 'Installation/Configuration' started by comsupany, Oct 18, 2021.

  1. comsupany

    comsupany New Member

    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!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    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.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  5. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

Share This Page