My operating system is (include version):
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy
I installed Certbot with (snap, OS package manager, pip, certbot-auto, etc):
$ pip show certbot
Name: certbot
Version: 2.11.0
Summary: ACME client
Home-page: https://github.com/certbot/certbot
Author: Certbot Project
Author-email: [email protected]
License: Apache License 2.0
Location: /home/aleks/code/infrahouse-toolkit/.venv/lib/python3.10/site-packages
Requires: acme, ConfigArgParse, configobj, cryptography, distro, josepy, parsedatetime, pyrfc3339, pytz, setuptools
Required-by: certbot-dns-route53, infrahouse-toolkit
I ran this command and it produced this output:
$ certbot --quiet renew
/home/aleks/code/infrahouse-toolkit/.venv/lib/python3.10/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:
/home/aleks/code/infrahouse-toolkit/.venv/lib/python3.10/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):
/home/aleks/code/infrahouse-toolkit/.venv/lib/python3.10/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):
Certbot's behavior differed from what I expected because:
The issue is about the deprecation messages.