diff options
author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2023-07-20 16:04:27 +0200 |
---|---|---|
committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2023-07-20 16:04:27 +0200 |
commit | 40fad96530caf190a3babf322ca705e744c393bb (patch) | |
tree | 3cd35231b78358a33e7d5161a93d8b965542455a /src/tutorial/syscat.source | |
parent | a3f695e645d0363d845a828db45deac5af1b4c0e (diff) | |
download | postgresql-40fad96530caf190a3babf322ca705e744c393bb.tar.gz postgresql-40fad96530caf190a3babf322ca705e744c393bb.zip |
Set fixed dates for test certificates validity
Rather than specifying a validity of 10 000 days into the future
during test certificate generation, this hardcodes the notBefore
and notAfter attributes to known values. This will allow writing
tests on the validity of the certificates without knowing when a
specific certificate was regenerated.
This is done as a prerequisite for an upcoming patch which adds
notBefore and notAfter to pg_stat_ssl and sslinfo.
Discussion: https://postgr.es/m/EE288A58-947E-479A-9D99-C46C273D7A23@yesql.se
Diffstat (limited to 'src/tutorial/syscat.source')
0 files changed, 0 insertions, 0 deletions