mirror of
https://github.com/postgres/postgres.git
synced 2025-11-21 00:42:43 +03:00
Add settings to control SSL/TLS protocol version
For example:
ssl_min_protocol_version = 'TLSv1.1'
ssl_max_protocol_version = 'TLSv1.2'
Reviewed-by: Steve Singer <steve@ssinger.info>
Discussion: https://www.postgresql.org/message-id/flat/1822da87-b862-041a-9fc2-d0310c3da173@2ndquadrant.com
This commit is contained in:
@@ -60,6 +60,9 @@ char *SSLECDHCurve;
|
||||
/* GUC variable: if false, prefer client ciphers */
|
||||
bool SSLPreferServerCiphers;
|
||||
|
||||
int ssl_min_protocol_version;
|
||||
int ssl_max_protocol_version;
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
/* Procedures common to all secure sessions */
|
||||
/* ------------------------------------------------------------ */
|
||||
|
||||
Reference in New Issue
Block a user