ISPConfig with acme.sh not updating Apache confs

Discussion in 'Installation/Configuration' started by fabiancz, Jun 1, 2022.

  1. fabiancz

    fabiancz New Member

    Hi,
    I have fresh installation of Debian 10 with ISPConfig 3 and acme.sh. SSL certificate for ISPConfig is working fine. I was using this tutorial (without mailserver).

    Problem is when I add new domain and I want to use Let's Encrypt SSL. Checkboxes in ISPConfig are checked - this is ok. SSL certificates are generated and stored in /root/.acme.sh/

    /var/log/ispconfig/acme.log:
    Cert success.
    Your cert is in: /root/.acme.sh/brdskavlocka.cz/mydomain.tld.cer
    Your cert key is in: /root/.acme.sh/brdskavlocka.cz/mydomain.tldkey
    The intermediate CA cert is in: /root/.acme.sh/mydomain.tld/ca.cer
    And the full chain certs is there: /root/.acme.sh/mydomain.tld/fullchain.cer
    _on_issue_success

    But Apache vhost files are untouched and https on my domain is not working (ERR_SSL_PROTOCOL_ERROR). There is nothing about SSL in Apache vhost files :(

    Can you help me what is wrong with my configuration? Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This happens when step 6 of the install tutorial is left out or a wrong option is chosen in the dpkg-rconfigure dialog. Run this command as root user:

    dpkg-reconfigure dash

    and ensure that you select 'no' in the dialog that shows up.
     
  3. fabiancz

    fabiancz New Member

    Thank you for your fast reply!
    This was the problem. Sorry I didn't read note in step 6 of the tutorial ‍♂️. Btw there is note "ISPConfig installation will fail". Installation was ok, but SSL wasn't working.

    Thanks a lot!
     
  4. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

Share This Page