Ispconfig 3 stopped working after attempting to configure Lets Encrypt

Discussion in 'Installation/Configuration' started by downsouth, May 3, 2018.

  1. downsouth

    downsouth New Member

    I was following this tutorial:
    https://www.howtoforge.com/tutorial/securing-ispconfig-3-with-a-free-lets-encrypt-ssl-certificate/
    I folowed instructions in admin panel but this part is a bit vague...
    If unsuccessful, you will not be able to proceed further, so do check its log file for a clue.
    What exactly does it mean? Proceed where? In the panel? At the command line?
    So I then did this at the command line...
    Code:
    cd /usr/local/ispconfig/interface/ssl/
    mv ispserver.crt ispserver.crt-$(date +"%y%m%d%H%M%S").bak
    mv ispserver.key ispserver.key-$(date +"%y%m%d%H%M%S").bak
    mv ispserver.pem ispserver.pem-$(date +"%y%m%d%H%M%S").bak
    ln -s /etc/letsencrypt/live/$(hostname -f)/fullchain.pem ispserver.crt
    ln -s /etc/letsencrypt/live/$(hostname -f)/privkey.pem ispserver.key
    cat ispserver.{key,crt} > ispserver.pem
    and got his error...
    cat: ispserver.key: No such file or directory
    cat: ispserver.crt: No such file or directory

    And now I cannot get back into panel, it just says unable to connect.

    Any suggestions will be most welcome.
     
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    It means if you have problems in creating your LE SSL certs for your ISPConfig website, you should not proceed with step 6 but you should rather check LE logs and determine what is the cause of the failure and resolve that first.

    Only if you managed to properly create LE SSL certs for ISPConfig website should you proceed to assign the certs to ISPConfig Control Panel page and other major services manually by folowing steps 6 and so on or use the LE4ISPC script to do the same automatically.
     
  3. downsouth

    downsouth New Member

    Thanks for reply. I have managed to get it all working.
    Perhaps you should change it to say DO NOT proceed further
     
    ahrasis likes this.
  4. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Yes. May be I should.
     

Share This Page