SSL Cert not renewing

Discussion in 'ISPConfig 3 Priority Support' started by Tom John, Nov 10, 2020.

  1. Tom John

    Tom John Active Member HowtoForge Supporter

    Hi guys,

    i am running ubuntu 18.04 and ISPConfig 3.2
    the SSL certificate for the server is not renewing by itself.
    to renew the certificate should i do it with update ispconfig or what would you recommend?
    thanks for your kind help.
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    How did you create the certificate? 3.2 has not been out long enough for a certificate created by the installer to need renewal, so if yours needs it, it must have been created in another way.
     
    Th0m likes this.
  3. Tom John

    Tom John Active Member HowtoForge Supporter

  4. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    It should renew when the expiry date is within 30 days. Did you create the renewal script to copy the LE certificates to the ISPConfig dir after renewal?
     
  5. Tom John

    Tom John Active Member HowtoForge Supporter

    well actually i dont know, maybe i did not.
    Should i create this now ? will it update the LE certificate?
    How can i check if i created it already?
    thanks a lot for your kind help
     
  6. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    If the file /etc/init.d/le_ispc_pem.sh doesn't exist it's most likely you didn't set it up.

    See the steps in the tutorial: https://www.howtoforge.com/tutorial...ript-for-your-ispconfig-pem-file-ispserverpem
    In case this cert is only for the UI, you can leave out
    Code:
    service pure-ftpd-mysql restart
    service monit restart
    service postfix restart
    service dovecot restart
    from the script. And don't forget to replace nginx with apache if you're using apache.
    After doing this, run the script manually once. Next time, it should be triggered automatically.
     
  7. Tom John

    Tom John Active Member HowtoForge Supporter

    thanks for your answer.
    the file /etc/init.d/le_ispc_pem.sh exists on this server.
    As is see the certificate for ispconfig is working but i get an error when i want to connect to email:
    Code:
    
    server2.cl-i.net
    Identity: server2.cl-i.net
    Verified by: Let's Encrypt Authority X3
    Expires: 10/11/20
    
    it says the mail account cannot connect because the SSL certificate of the server can not be trusted.
     
  8. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Then you use the cert for mail aswell and postfix and dovecot should be restart. Compare your setup with the tutorial to see what is missing.
     
  9. Tom John

    Tom John Active Member HowtoForge Supporter

    Hi,
    it seems that it works,
    thanks a lot for your kind and quick help ;)
     
    Th0m likes this.
  10. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Good to hear :) No problem!
     

Share This Page