postgresql/contrib/sslinfo
Daniel Gustafsson 6acb0a628e Add notBefore and notAfter to SSL cert info display
This adds the X509 attributes notBefore and notAfter to sslinfo
as well as pg_stat_ssl to allow verifying and identifying the
validity period of the current client certificate. OpenSSL has
APIs for extracting notAfter and notBefore, but they are only
supported in recent versions so we have to calculate the dates
by hand in order to make this work for the older versions of
OpenSSL that we still support.

Original patch by Cary Huang with additional hacking by Jacob
and myself.

Author: Cary Huang <cary.huang@highgo.ca>
Co-author: Jacob Champion <jacob.champion@enterprisedb.com>
Co-author: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/182b8565486.10af1a86f158715.2387262617218380588@highgo.ca
2024-03-22 21:25:25 +01:00
..
Makefile Add notBefore and notAfter to SSL cert info display 2024-03-22 21:25:25 +01:00
meson.build Add notBefore and notAfter to SSL cert info display 2024-03-22 21:25:25 +01:00
sslinfo--1.0--1.1.sql Minor fixes in contrib installation scripts. 2016-06-14 10:47:06 -04:00
sslinfo--1.1--1.2.sql Update sslinfo extension for parallel query. 2016-06-14 14:52:55 -04:00
sslinfo--1.2--1.3.sql Add notBefore and notAfter to SSL cert info display 2024-03-22 21:25:25 +01:00
sslinfo--1.2.sql Update sslinfo extension for parallel query. 2016-06-14 14:52:55 -04:00
sslinfo.c Add notBefore and notAfter to SSL cert info display 2024-03-22 21:25:25 +01:00
sslinfo.control Add notBefore and notAfter to SSL cert info display 2024-03-22 21:25:25 +01:00