Debian Bug report logs - #1082777
Please fix certbot warnings

version graph

Package: certbot; Maintainer for certbot is Debian Let's Encrypt <[email protected]>; Source for certbot is src:python-certbot (PTS, buildd, popcon).

Reported by: Joerg Dorchain <[email protected]>

Date: Thu, 26 Sep 2024 06:00:02 UTC

Severity: normal

Tags: patch

Found in version python-certbot/2.11.0-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian Let's Encrypt <[email protected]>:
Bug#1082777; Package certbot. (Thu, 26 Sep 2024 06:00:02 GMT) (full text, mbox, link).


Acknowledgement sent to Joerg Dorchain <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Let's Encrypt <[email protected]>. (Thu, 26 Sep 2024 06:00:02 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Joerg Dorchain <[email protected]>
To: [email protected]
Subject: Please fix certbot warnings
Date: Thu, 26 Sep 2024 07:44:48 +0200
[Message part 1 (text/plain, inline)]
Package: certbot
Version: 2.11.0-1
Tags: patch

Hello,

since python3-cryptography    43.0.0-1 arrived in testing,
certbot gives out warnings, which are particularly annoying when
invoked from /etc/cron.d/certbot

#  certbot -q renew
/usr/lib/python3/dist-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:
/usr/lib/python3/dist-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):
/usr/lib/python3/dist-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):

A patch is available at
https://github.com/certbot/certbot/pull/9968/files

Since upstream seems to be reluctant to tackle this issue, it
would be great to fix it for debian unstable and testing.

Please consider applying.

Bye,

Joerg

[signature.asc (application/pgp-signature, inline)]

Information forwarded to [email protected], Debian Let's Encrypt <[email protected]>:
Bug#1082777; Package certbot. (Mon, 31 Mar 2025 03:00:01 GMT) (full text, mbox, link).


Acknowledgement sent to Aleksi Suhonen <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Let's Encrypt <[email protected]>. (Mon, 31 Mar 2025 03:00:01 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Aleksi Suhonen <[email protected]>
To: [email protected]
Subject: Any update?
Date: Mon, 31 Mar 2025 05:50:51 +0300
Hi,

Has there been any update on adopting the patch linked by Joerg in 
Debian/sid? The constant error messages from cron are unbearable.

BR,

-- 
	Aleksi Suhonen

	() ascii ribbon campaign
	/\ support plain text e-mail




Information forwarded to [email protected], [email protected], Debian Let's Encrypt <[email protected]>:
Bug#1082777; Package certbot. (Sun, 06 Apr 2025 07:06:02 GMT) (full text, mbox, link).


Acknowledgement sent to Martin Dosch <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected], Debian Let's Encrypt <[email protected]>. (Sun, 06 Apr 2025 07:06:02 GMT) (full text, mbox, link).


Message #15 received at [email protected] (full text, mbox, reply):

From: Martin Dosch <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: Re: Please fix certbot warnings
Date: Sun, 06 Apr 2025 09:04:23 +0200
Package: certbot
Version: 2.11.0-1
Followup-For: Bug #1082777
X-Debbugs-Cc: [email protected]

Dear Maintainer,

I also get these warnings on a trixie machine. Please fix them (either
by applying the patch or updating to latest upstream) before the release
of trixie.

Best regards,
Martin

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.19-amd64 (SMP w/6 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages certbot depends on:
ii  debconf [debconf-2.0]  1.5.91
ii  python3                3.13.2-2
ii  python3-certbot        2.11.0-1

certbot recommends no packages.

Versions of packages certbot suggests:
pn  python-certbot-doc      <none>
pn  python3-certbot-apache  <none>
ii  python3-certbot-nginx   2.9.0-1

-- debconf information:
  certbot/remove_live_certs: true



Information forwarded to [email protected], Debian Let's Encrypt <[email protected]>:
Bug#1082777; Package certbot. (Tue, 22 Apr 2025 18:00:02 GMT) (full text, mbox, link).


Acknowledgement sent to [email protected]:
Extra info received and forwarded to list. Copy sent to Debian Let's Encrypt <[email protected]>. (Tue, 22 Apr 2025 18:00:02 GMT) (full text, mbox, link).


Message #20 received at [email protected] (full text, mbox, reply):

From: Markus Gschwendt <[email protected]>
To: [email protected]
Subject: Please fix certbot warnings
Date: Tue, 22 Apr 2025 19:13:08 +0200
I see the same issue on Trixie with certbot 2.11.0-1.

Trixie is still in soft freeze. Please incorporate the existing fix or
upstream soon.

Thx!



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 12:59:00 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.