Hello Rob,

Rob Crittenden via FreeIPA-users <[email protected]>
writes:

> Jochen Kellner via FreeIPA-users wrote:
>> 
>> Hi,
>> 
>> I've upgraded my testserver to Fedora 41 with
>> 
>> freeipa-healthcheck-core-0.17-4.fc41.noarch
>> freeipa-server-common-4.12.2-4.fc41.noarch
>> 
>> Running ipa-healthcheck gives these warnings:
>> 
>> /usr/lib/python3.13/site-packages/ipalib/x509.py:270:
>> CryptographyDeprecationWarning: Properties that return a naïve
>> datetime object have been deprecated. Please switch to
>> not_valid_after_utc.
>>   return self._cert.not_valid_after.replace(tzinfo=datetime.timezone.utc)
>> /usr/lib/python3.13/site-packages/ipalib/x509.py:270:
>> CryptographyDeprecationWarning: Properties that return a naïve
>> datetime object have been deprecated. Please switch to
>> not_valid_after_utc.
>>   return self._cert.not_valid_after.replace(tzinfo=datetime.timezone.utc)
>> /usr/lib/python3.13/site-packages/pki/nssdb.py:2070:
>> CryptographyDeprecationWarning: Properties that return a naïve
>> datetime object have been deprecated. Please switch to
>> not_valid_before_utc.
>>   cert['not_before'] = self.convert_time_to_millis(cert_obj.not_valid_before)
>> /usr/lib/python3.13/site-packages/pki/nssdb.py:2071:
>> CryptographyDeprecationWarning: Properties that return a naïve
>> datetime object have been deprecated. Please switch to
>> not_valid_after_utc.
>>   cert['not_after'] = self.convert_time_to_millis(cert_obj.not_valid_after)
>> 
>> Otherwise ipa-healthcheck reports success, no errors.
>
> Thanks for the report.
>
> These are originating in IPA and in PKI which healthcheck calls. I
> suspect these are also seen in other IPA logs but they are more obvious
> via healthcheck.
>
> I opened https://pagure.io/freeipa/issue/9690 for IPA and in PKI
> https://issues.redhat.com/browse/RHCS-5394

Thanks for verifying and opening the tickets!

> For clarity what version of python3-cryptography and dogtag-pki-ca do
> you have installed?

These are the installed packages:

ljochen@freeipa:~$ rpm -qa | grep -E "(python3-cryptography|dogtag-pki-ca)"
python3-cryptography-43.0.0-2.fc41.x86_64
dogtag-pki-ca-11.5.0-3.fc41.2.noarch

Jochen

-- 
This space is intentionally left blank.
-- 
_______________________________________________
FreeIPA-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to