5 Commits

Author SHA1 Message Date
Takashi Kajinami
25872b36de Drop implementation to use pyOpenSSL to manage pkcs12 certs
The cryptography library has been bumped to 3.1 in upper-constraints
file during Ussuri, which is quite old. So we no longer have to
maintain logic for cryptography < 3.0.

Change-Id: I1a463e320b94b0e99e92541581e1ee5feffd356a
2023-11-06 23:26:15 +09:00
Gregory Thiemonge
a66952e962 Fix generate_pkcs12_bundle for FIPS
generate_pkcs12_bundle used the PKCS12 class of the pyOpenSSL module
which is not compliant with FIPS (uses SHA1).
Switch to the cryptography module for generating the PKCS bundles unless
for really old releases (<=3.0) that don't support it (stable/train is
still on 2.8).

Change-Id: Ibd50e9a6e406683b7faba093d716c83d2b994ad7
2022-07-21 12:29:56 +02:00
Gregory Thiemonge
e474c3e6ff Fix timezones in certificate revocation list dates
While generating certificate revocation list, dates were generated with
an incorrect TZ information. Depending on the TZ of host, some tests
failed because last update was in the future.

Using datetime.utcnow() for dates fixes the issue.

Change-Id: I2ff30c1a65e07b409aba211d1c60760355bfebbe
2019-12-10 19:44:23 +01:00
Michael Johnson
6378663837 Add listener client authentication scenario tests
This patch adds scenario tests that cover the listener client
authentication features of TLS_TERMINATED listeners.

Depends-On: https://review.opendev.org/#/c/693586/
Change-Id: Ic3a9fa1995709378b68e64aea51e1799867c1bb0
2019-11-10 08:53:35 +00:00
Michael Johnson
0a0f9b342a Add a TLS scenario using Barbican
This patch adds a TLS load balancer scenario test using Barbican.

Story: 1627383
Task: 5149

Change-Id: I7013888f94261d94e1cd4c3167dc84da7125d1da
2019-01-08 09:52:04 -08:00