You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to configure full SLL verification, `sslmode=verify-full` should be used.
However, previous versions of pgjdbc missed hostname verification for non-default SSL factories,
so `sslmode=verify-full` was effectively the same as `sslmode=verify-ca`.
Default sslfactory (which is LibPQFactory) is not impacted.
Extra changes:
- support for sslmode=allow/prefer/require
- ssl=true is treated as verify-full
- sslfactoryarg and socketFactoryArg are deprecated (as constructors with Properties) can be used.
| ssl | Boolean | false | Control use of SSL (true value causes SSL to be required) |
113
113
| sslfactory | String | null | Provide a SSLSocketFactory class when using SSL. |
114
-
| sslfactoryarg | String | null | Argument forwarded to constructor of SSLSocketFactory class. |
114
+
| sslfactoryarg (deprecated)| String | null | Argument forwarded to constructor of SSLSocketFactory class. |
115
115
| sslmode | String | null | Parameter governing the use of SSL. |
116
116
| sslcert | String | null | The location of the client's SSL certificate |
117
117
| sslkey | String | null | The location of the client's PKCS#8 SSL key |
@@ -144,7 +144,7 @@ In addition to the standard connection parameters the driver supports a number o
144
144
| hostRecheckSeconds | Integer | 10 | Specifies period (seconds) after which the host status is checked again in case it has changed |
145
145
| loadBalanceHosts | Boolean | false | If disabled hosts are connected in the given order. If enabled hosts are chosen randomly from the set of suitable candidates |
146
146
| socketFactory | String | null | Specify a socket factory for socket creation |
147
-
| socketFactoryArg | String | null | Argument forwarded to constructor of SocketFactory class. |
147
+
| socketFactoryArg (deprecated)| String | null | Argument forwarded to constructor of SocketFactory class. |
148
148
| autosave | String | never | Specifies what the driver should do if a query fails, possible values: always, never, conservative |
149
149
| preferQueryMode | String | extended | Specifies which mode is used to execute queries to database, possible values: extended, extendedForPrepared, extendedCacheEverything, simple |
150
150
| reWriteBatchedInserts | Boolean | false | Enable optimization to rewrite and collapse compatible INSERT statements that are batched. |
0 commit comments