"Solved" Old certbot

Discussion in 'ISPConfig 3 Priority Support' started by ganewbie, Aug 21, 2021.

Tags:
  1. ganewbie

    ganewbie Member HowtoForge Supporter

    (Debian Stretch) ISPConfig 3.1.13 The perfect server, Apache
    Let's encrypt does not renew anymore. I guess, certbot is out of date:
    Code:
    root@srv1:~# which certbot
    /usr/bin/certbot
    root@srv1:~# certbot --version
    certbot 0.10.2
    
    What is the best approach?
    Do we upgrade ISPCONFIG3? Does that look after this issue?
    Thanks in advance,
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    You need to update the certbot client, updating ispconfig will not help. How did you install the old one?
     
  3. ganewbie

    ganewbie Member HowtoForge Supporter

    Last edited: Aug 21, 2021
  4. ganewbie

    ganewbie Member HowtoForge Supporter

    What a journey!!!!
    I think I broke the server, apache does not want to restart.
    Deleted all the vhost symlink under
    Code:
    /etc/apache2/sites-enabled
    Apache restarted with no errors and everything is good.
    installed certbot as per:
    https://certbot.eff.org/lets-encrypt/debianstretch-apache
    Did not perform step 7 as per @till recommendation on another post.
    Voila, everything is working as normal and I have upgraded the ISPCONFIG3 as well.
     
    Last edited: Aug 21, 2021
  5. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Good deal. You would not have needed to delete the certificate though, just update certbot and the them, but glad you got it working.
     
    ganewbie and ahrasis like this.
  6. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Congratulation though the approach prescribed by @Jesse Norell is simpler.

    In my mind, if you can bravely come to a level of deleting all certs, certbot and apache2 enabled vhost, the better alternative to me is to use acme.sh in certbot place.
     
    ganewbie likes this.
  7. ganewbie

    ganewbie Member HowtoForge Supporter

    Thanks @Jesse Norell and @ahrasis
    @ahrasis How do I switch from certbot to acme.sh?
    I wanted to do this but I was under pressure to get things moving.
     

Share This Page