...
Attribute | Default | Description |
---|---|---|
|
| Indicates whether that the hostname given in the HTTPS URL will be checked against the service's Common Name (CN) given in its certificate during requests, and failing if there is a mismatch. If set to |
|
| A SSLSocketFactory to use. All other bean properties are ignored if this is set. |
| 86400 seconds (24 hours) | SSL Cache Timeout in seconds. |
|
| This attribute specifies if HttpsURLConnection.getDefaultSSLSocketFactory() should be used to create https connections. If ' |
|
| This attribute specifies if HttpsURLConnection.getDefaultHostnameVerifier() should be used to create https connections. If ' |
hostnameVerifier | A custom HostnameVerifier instance to use |
Disable CN Check
disableCNCheck
is a parameterized boolean, you can use a fixed variable true
|false
as well as a Spring externalized property variable (e.g. ${disable-https-hostname-verification
}) or a Spring expression (e.g. #{systemProperties['dev-mode']
}).
...