Files
freeipa/ipatests/test_ipalib
Florence Blanc-Renaud b6af3a43c7 ipalib: fix the IPACertificate validity dates
The class IPACertificate builds objects from x509 Certificate
objects and creates the not_valid_before and not_valid_after values
by converting to a timestamp + applying timezone delta to UTC + reading
from the timestamp. This results in applying twice the delta.

Use a simpler method that replaces the timezone info with UTC in the
datetime object.

Fixes: https://pagure.io/freeipa/issue/9462

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2023-10-16 14:46:45 -04:00
..
2013-06-17 19:22:50 +02:00
2018-06-20 08:38:03 +02:00
2022-03-11 13:37:08 -05:00
2016-09-27 13:35:58 +02:00
2022-03-11 13:37:08 -05:00
2020-04-28 15:33:57 +02:00