Discussion in 'Installation/Configuration' started by Poliman, Oct 23, 2017.

  1. Poliman

    Poliman Member

    I have ISPconfig 3.1.5 under Ubuntu 16.04. I put domain for this panel lets say and configure LE under ISP for this domain. Until 23.10.2017 11:01 all work well - error gives message that some certificate lost significance on the date/time above. Now I can't access ISP panel. On firefox I have error SEC_ERROR_EXPIRED_CERTIFICATE (in Chrome I have NET::ERR_CERT_DATE_INVALID) and I can't add exception due to HSTS. How can I resolve the issue? I changed only one thing today on the server -> dpkg-reconfigure locales and I added one more locale (default was en_US UTF8, added pl_PL UTF8) and set it as default. Other domains/websites configured under ISP with LetsEncrypt SSL work perfect. I can paste some lines from vhost file of domain if needed.
  2. HSorgYves

    HSorgYves Active Member

    In Firefox you can bypass certificate errors, log into your ISPConfig and recreate the LE certificate
  3. Poliman

    Poliman Member

    I can't log into ISP, because of HSTS. Each web browser block the panel. Second thing that all websites created by ISP which have LE SSL have auto renew certificates. In this same way was created domain for ISP but in this case LE SSL expired. I don't know why and I don't know how resolve the issue.

    I can put domain vhost used by ISP but it's default, ispconfig vhost file is also default. In /etc/letsencrypt/live directory I have and directories. What's that? Alias domain created by ISP has also and directories but all other domains have only one directory which names like the domain name.

    About cert files:
    [email protected]:/etc/letsencrypt/live/ ls -l
    total 0
    lrwxrwxrwx 1 root root 43 Sep 26 05:00 cert.pem -> ../../archive/
    lrwxrwxrwx 1 root root 44 Sep 26 05:00 chain.pem -> ../../archive/
    lrwxrwxrwx 1 root root 48 Sep 26 05:00 fullchain.pem -> ../../archive/
    lrwxrwxrwx 1 root root 46 Sep 26 05:00 privkey.pem -> ../../archive/
    and for directory without "-0001":
    [email protected]:/etc/letsencrypt/live/ ls -l
    total 0
    lrwxrwxrwx 1 root root 38 Jul 25 12:01 cert.pem -> ../../archive/
    lrwxrwxrwx 1 root root 39 Jul 25 12:01 chain.pem -> ../../archive/
    lrwxrwxrwx 1 root root 43 Jul 25 12:01 fullchain.pem -> ../../archive/
    lrwxrwxrwx 1 root root 41 Jul 25 12:01 privkey.pem -> ../../archive/
    As you can see above, certificates are renewed but in directory with "-0001". This is the problem that certs after renew are not in default domain directory.
    I used ahrasis's tutorial
    I have found where guy sahsanu says about "--expand" switch which allow create certificate inside the same dir without adding suffix "-0001". But I still can't understand why all other domains work good with LE.
    Last edited: Oct 24, 2017

Share This Page