Commit Graph

3 Commits

Author SHA1 Message Date
Seyeong Kim
2bbd4247ff Increase cert ttl from 80days to 4000days
Vault testing is failed if we want to
increase vault's default ttl to 10 years
because zaza specify cert's ttl is only 80days.

https://review.opendev.org/#/c/678161
2019-09-25 11:10:28 +09:00
Frode Nordahl
caed1ceeb3 Use UTC when calculating certificate validity
The current usage of ``datetime.today()`` is at the grace of the
locale settings of the test executor and the instances spun up.

The ``cryptography.x509.CertificateBuilder`` ``not_valud_before``
and ``not_valid_after`` attributes do expect [0] a UTC datetime.

0: https://cryptography.io/en/latest/x509/reference/#cryptography.x509.CertificateBuilder
2019-09-10 12:14:52 +02:00
Chris MacNaughton
dd434e281e Add zaza namespacing, starting with openstack 2019-04-25 17:46:03 +02:00