Let's encrypt problem

Discussion in 'ISPConfig 3 Priority Support' started by jpcyrenne, Jan 16, 2025.

  1. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

    Good day,
    Server: Ubuntu 22.04.5 LTS (Jammy Jellyfish) ISPConfig 3.2.12p1
    Running a nodejs app with Apache proxy (site works well).

    I'm running into the issue of requesting a Let's encrypt certificate and the checkbox are unchecked when I return. I've read a few posts and recommendations, but still a issue for me.
    - I have disabled the Let's encrypt check (Syatem / System /Server config / Web / SSL)
    - Other sites on the same server work (PHP, not Nodejs). I guess it's not an issue with the initial server setup.

    The DNS, wget command work - and I get a good index.html file:
    # wget http://calculator.XXX.com
    --2025-01-16 15:55:21-- http://calculator.XXX.com/
    Resolving calculator.mosaiquesurface.com (calculator.XXX.com)... 199.241.136.57
    Connecting to calculator.mosaiquesurface.com (calculator.XXX.com)|199.241.136.57|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 5049 (4.9K) [text/html]
    Saving to: ‘index.html’
    index.html 100%[==============================================================>] 4.93K --.-KB/s in 0s

    2025-01-16 15:55:21 (389 MB/s) - ‘index.html’ saved [5049/5049]​

    Where would I find the logs? (didn't see anything in the classi /var/log or /var/www/calculator.XXX.com/log locations). I don't see anything under /etc/letsencrypt?
    Thanks ahead for advisin me on the next steps I sould take.

    JP
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Most likely, you forwarded the requests from Let's Encrypt to your NodeJS App, which prevents LE from authenticating the SSL cert. You must exclude them In this thread, you can find an example of proxy rules that exclude requests for LE correctly here:

    https://forum.howtoforge.com/threads/howto-create-proxy-apache-in-web-gui-isp.93635/

    If this does not fix it, then please follow all steps of this checklist:

    https://forum.howtoforge.com/threads/lets-encrypt-error-faq.74179/

    The page also mentions what to do and what to post in case you have not figured out the issue.
     
  3. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

    Thank you very much. I bluntly copied and pasted the directives (no modifications) and it's all good now.

    JP
     
    till likes this.

Share This Page