summaryrefslogtreecommitdiff
path: root/contrib/sslinfo/sslinfo.control
diff options
context:
space:
mode:
authorDaniel Gustafsson2024-03-22 20:25:25 +0000
committerDaniel Gustafsson2024-03-22 20:25:25 +0000
commit6acb0a628eccab8764e0306582c2b7e2a1441b9b (patch)
tree35e13c67443d52319f7bc4c9d4c21e27aa01816d /contrib/sslinfo/sslinfo.control
parentb670b93a66fc554714e0fe8e51a944912bb9fd68 (diff)
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 <[email protected]> Co-author: Jacob Champion <[email protected]> Co-author: Daniel Gustafsson <[email protected]> Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'contrib/sslinfo/sslinfo.control')
-rw-r--r--contrib/sslinfo/sslinfo.control2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/sslinfo/sslinfo.control b/contrib/sslinfo/sslinfo.control
index c7754f924cf..b53e95b7da8 100644
--- a/contrib/sslinfo/sslinfo.control
+++ b/contrib/sslinfo/sslinfo.control
@@ -1,5 +1,5 @@
# sslinfo extension
comment = 'information about SSL certificates'
-default_version = '1.2'
+default_version = '1.3'
module_pathname = '$libdir/sslinfo'
relocatable = true