New paths when using acme.sh

Discussion in 'Tips/Tricks/Mods' started by Th0m, Jan 9, 2021 at 10:33 PM.

  1. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    We have several tutorials using /etc/letsencrypt/live for the certificate path, for example https://www.howtoforge.com/tutorial/securing-ispconfig-3-with-a-free-lets-encrypt-ssl-certificate/

    where the commands are
    Code:
    ln -s /etc/letsencrypt/live/$(hostname -f)/fullchain.pem ispserver.crt
    ln -s /etc/letsencrypt/live/$(hostname -f)/privkey.pem ispserver.key
    With the new acme.sh implementation, these paths have changed. For the commands above, when using server1.example.com as hostname, it would be:
    Code:
    ln -s /root/.acme.sh/server1.example.com/server1.example.com.cer ispserver.crt
    ln -s /root/.acme.sh/server1.example.com/server1.example.com.key ispserver.key
    And for incron:
    Code:
    /root/.acme.sh/server1.example.com/ IN_MODIFY ./etc/init.d/le_ispc_pem.sh
    instead of
    Code:
    /etc/letsencrypt/archive/server1.example.com/ IN_MODIFY ./etc/init.d/le_ispc_pem.sh
    Same applies to https://www.howtoforge.com/securing...server-with-a-valid-lets-encrypt-certificate/ and probably more tutorials.
     

Share This Page