public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] problem with certbot -q renew
@ 2024-10-31  5:40 John Covici
  2024-10-31  9:59 ` Michael
  0 siblings, 1 reply; 3+ messages in thread
From: John Covici @ 2024-10-31  5:40 UTC (permalink / raw
  To: gentoo-user

Hi.  So, I have a certificate from lets encrypt and since the last update whenever I run certbot -q renew I get the following:

/usr/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:
/usr/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):
/usr/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):
Is this a harmless warning, or do I need to do something?

Thanks in advance for any suggestions.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] problem with certbot -q renew
  2024-10-31  5:40 [gentoo-user] problem with certbot -q renew John Covici
@ 2024-10-31  9:59 ` Michael
  2024-10-31 13:18   ` John Covici
  0 siblings, 1 reply; 3+ messages in thread
From: Michael @ 2024-10-31  9:59 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1279 bytes --]

On Thursday 31 October 2024 05:40:32 GMT John Covici wrote:
> Hi.  So, I have a certificate from lets encrypt and since the last update
> whenever I run certbot -q renew I get the following:
> 
> /usr/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:
> /usr/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):
> /usr/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): Is this a harmless warning, or do I need to do
> something?
> 
> Thanks in advance for any suggestions.

Take a look here:

https://github.com/certbot/certbot/issues/9967

You could use 'export PYTHONWARNINGS=ignore' as a workaround until the certbot 
devs address this issue.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] problem with certbot -q renew
  2024-10-31  9:59 ` Michael
@ 2024-10-31 13:18   ` John Covici
  0 siblings, 0 replies; 3+ messages in thread
From: John Covici @ 2024-10-31 13:18 UTC (permalink / raw
  To: gentoo-user



> On Oct 31, 2024, at 5:59 AM, Michael <confabulate@kintzios.com> wrote:
> 
> On Thursday 31 October 2024 05:40:32 GMT John Covici wrote:
>> Hi.  So, I have a certificate from lets encrypt and since the last update
>> whenever I run certbot -q renew I get the following:
>> 
>> /usr/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:
>> /usr/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):
>> /usr/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): Is this a harmless warning, or do I need to do
>> something?
>> 
>> Thanks in advance for any suggestions.
> 
> Take a look here:
> 
> https://github.com/certbot/certbot/issues/9967
> 
> You could use 'export PYTHONWARNINGS=ignore' as a workaround until the certbot 
> devs address this issue.

OK, thanks — I will do that.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-31 13:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-31  5:40 [gentoo-user] problem with certbot -q renew John Covici
2024-10-31  9:59 ` Michael
2024-10-31 13:18   ` John Covici

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox