Files
freeipa/ipatests
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
..
2019-07-16 13:23:21 +03:00
2023-05-31 09:17:25 +02:00
2020-10-26 17:11:19 +11:00
2022-03-11 13:37:08 -05:00
…
2022-03-11 13:37:08 -05:00
…
2021-06-16 10:28:17 -04:00