Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network Issue - Cert not renewed #4799

Open
LordDarkneo opened this issue Sep 20, 2023 · 3 comments
Open

Network Issue - Cert not renewed #4799

LordDarkneo opened this issue Sep 20, 2023 · 3 comments

Comments

@LordDarkneo
Copy link
Contributor

Hi there,

I have been using the script for quite a while but I recently faced an issue in renowing my certs.

I had a network issue (no internet, but local network was working fine). When the renewal process has been executed then, I guess it was not able to contact the let's encrypt website for the renewal process.

However, the "next update" date has been updated correctly in the .conf file, making me totally tuck now:

  • the certificate is expired
  • when I execute the script, it tells me that there's no need to update the cert:
    -- Fichier de configuration du ndd.tld : /volume1/Certificats/MyDomain.ovh/MyDomain.ovh.conf -- Date de renouvellement autorisee (T0+60 jours par defaut) : 2023-09-04T22:01:52Z -- La date de renouvellement du certificat ( 2023-09-04T22:01:52Z ) n'est pas atteinte -- Inutile de renouveler le certificat -> fin du script

image

Any idea on how to force the execution?

Thanks for your help!

@github-actions
Copy link

Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.

@LordDarkneo
Copy link
Contributor Author

LordDarkneo commented Sep 20, 2023

Just FYI after checking all logs, the issue is related to #4721
I checked, the use of entry.cgi is causing the error. I'll revert back to the 3.0.6 version as detailed in the issue and see if it works
Edit: Any existing procedure to revert back to the 3.0.6 without having to reinstall/reconfigure everything?

@LordDarkneo
Copy link
Contributor Author

Hi again,

I finally managed to create something based on the master version. FYI, ther's kind of a bug in the synology_dsm.sh script. the if function in case of renewal is KO:

if [ -z "$SYNO_DID" ] && [ -z "$SYNO_Device_ID" ] || [ -z "$sid" ] || [ -z "$token" ]; then
In case of renewal, SYNO_DID & SYNO_Device_ID are both empty at this stage (and I cant understand why). I just remove the test on those values and it worked fine (and changed the entry.cgi for auth.cgi).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant