Hostname encryption certificate failure (Let's Encrypt) - Resolved

Discussion in 'Installation/Configuration' started by Dy-2024, Nov 5, 2024.

  1. Dy-2024

    Dy-2024 Member

    I'm new to this and not sure if it auto-renews, but I tried adding a new site and was able to get the certificate.
    So, at the moment the certificate is not working and the ISPConfig panel is temporarily accessible using HTTP, but I'm not sure what's wrong.

    I'm still looking for the cause, but would appreciate some help or guidance.
    Thanks!
     
  2. Dy-2024

    Dy-2024 Member

    I checked

    /root/.acme.sh/hostname.com/
    hostname .com.cer

    It's true that it's overdue today
     
  3. remkoh

    remkoh Active Member HowtoForge Supporter

    There should be a cronjob running this command as root once a day
    Code:
    "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null
    and through that renewing your certificate about 30 days prior to expiration.

    Only when authentication fails the certificate won't be renewed.
    So if the cronjob is in place check the logs to verify authenication is failing or create it if the cronjob is missing.
    You can also run the command (without > /dev/null) manually from the console or a ssh session.
     
  4. Dy-2024

    Dy-2024 Member

    I've been using ISPConfig for over a year and have had no problems with it before.
    Thank you for your guidance, I'll check it right away.
     
  5. remkoh

    remkoh Active Member HowtoForge Supporter

    If it was running fine for over a year and authenication is failing as I suspect, fix the failer and you should be good to go again.
     
  6. Dy-2024

    Dy-2024 Member

    I'm still checking, it may take some time.
    Is there any way to manually process the certificates on a temporary basis? to get the mail client up and running.

    Thank you!
     
  7. remkoh

    remkoh Active Member HowtoForge Supporter

    Like I already said, run the command manually:
    Code:
    "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh"
     
  8. Dy-2024

    Dy-2024 Member

    I've followed your instructions and have successfully renewed the certificate so far, I'll keep checking the problem I just had.

    Thank you very much!
     
    remkoh likes this.
  9. remkoh

    remkoh Active Member HowtoForge Supporter

    With the cronjob in place you should be fine for the future.
     
  10. Dy-2024

    Dy-2024 Member

    Thank you for your guidance.

    I have learned a lot at howtoforge and thank you to all of you.
     

Share This Page