• [gentoo-user] problem with certbot -q renew

    From John Covici@21:1/5 to All on Thu Oct 31 06:50:01 2024
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Thu Oct 31 09:59:29 2024
    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.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmcjVQEACgkQseqq9sKV ZxncpBAAqAzXy3IQp2MzaSzsRSc+kvFqVnsa9sj6Vf6KDNrTsEN+FwLrFPoPofCn LQED9z4Rjn8quHgM/OPW2pkqIcpqq1CYDi+kz3iFihwBp8yVwSq8T+FzPDoXajNH WDMqJ+ViEYep1BE/rnw5edqaa1xHfMLvyaYMqjc/YEIIAxdGDyBaHjT4KS41QlKd 47jguVHXV6pSHFPQeGnCxgT4VeBz7VfGXn+Qh3q7LoF/FrepjypqHcemIeORGLIV oU5vx8NbL7Vh4cxzJd+mNYn8CwaO1wkN2AnXgEZYnqGohlhe4L3mv1AmnN76Ib62 8WPXaCcy4g/xU167H6huslecsMGU7N+VoEYkHo7sqvVSuC0GDhZx/UCZDerX+R8Q 3YoDgBDtMhpQsPBVi7EJUQEhnKsQt2BxbueLKPZFG6ARaxQPmuMetjOoSPTPMK7B 2Vc/1Bqi0g7PM/mkycDSyLVWBDuxOCRzJ8ut+ypgHyoNU25Z9dIJkhxDVvp0g2UO jWNEjn4n7179vicQiRDbvva1kmkyK5APXEJY1pIkm4UDnXt0lhC+CpSbGsXV3iWL YkGXVWsFrbxZ6cvhCIXoOcieDZ4pD7iT5YAeSFiRhgNtBrLnJIFhJahDiUGcnDzC AjDSNz2DDDUf4y/hz9oH0ZkkMWBgJKvUJI3yQFH4stq67nvn/68=
    =cLDu
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Covici@21:1/5 to All on Thu Oct 31 14:20:01 2024
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)