alexzorin / certbot-dns-multi

Certbot DNS plugin supporting multiple providers, using github.com/go-acme/lego
MIT License
52 stars 7 forks source link

Compatibility issue with Certbot 3.0 #14

Closed bigtimefsharpminor closed 6 days ago

bigtimefsharpminor commented 1 week ago

I am trying to run certbot via this command, but receive the error below. certbot certonly -a dns-multi --dns-multi-credentials=/etc/letsencrypt/dns-multi.ini The following plugins are using an outdated python version and must be updated to be compatible with Certbot 3.0. Please see https://community.letsencrypt.org/t/certbot-3-0-could-have-potential-third-party-snap-breakages/226940 for more information:

https://github.com/certbot/certbot/wiki/Architectural-Decision-Records#third-party-plugins-update-checklist

bigtimefsharpminor commented 1 week ago

also found this in the logs: Saving debug log to /var/log/letsencrypt/letsencrypt.log

/snap/certbot/4182/lib/python3.12/site-packages/certbot/ocsp.py:238: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to this_update_utc.
  if not response_ocsp.this_update:
/snap/certbot/4182/lib/python3.12/site-packages/certbot/ocsp.py:240: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to this_update_utc.
  if response_ocsp.this_update > now + timedelta(minutes=5):
/snap/certbot/4182/lib/python3.12/site-packages/certbot/ocsp.py:242: CryptographyDeprecationWarning: Properties that return a naïve datetime object have been deprecated. Please switch to next_update_utc.
  if response_ocsp.next_update and response_ocsp.next_update < now - timedelta(minutes=5):
alexzorin commented 6 days ago

Give it another attempt after running snap refresh, I have fixed the incompatibility (I think).

As for the OCSP deprecation warning, I'm not sure if it's related to this snap, but rather to the base Certbot snap: https://github.com/certbot/certbot/issues/9967

bigtimefsharpminor commented 6 days ago

After snap refresh, certbot-dns-multi plugin worked successfully. Thank you!!