...
The tlsClientParameters
element
The TLSClientParameters are listed here and here.
Attribute | Default | Since | Description |
---|---|---|---|
|
|
| Certificate Constraints specification. |
| default sslContext cipher suites |
| CipherSuites that will be supported. |
|
|
| filters of the supported CipherSuites that will be supported and used if available. |
| | 2.0.5 | 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 SOAP client requests, and failing if there is a mismatch. If set to |
| default JVM provider associated with protocol |
| JSSE provider name. |
| JVM default Key Managers |
| Key Managers to hold X509 certificates. |
| JVM default Secure Random |
| SecureRandom specification. |
| "TLS" |
| Protocol Name. Most common example are "SSL", "TLS" or "TLSv1". |
| JVM default Trust Managers |
| TrustManagers to validate peer X509 certificates. |
| | 2.2.7 | specifies if HttpsURLConnection.getDefaultSSLSocketFactory() should be used to create https connections. If ' |
| | 2.2.7 | This attribute specifies if HttpsURLConnection.getDefaultHostnameVerifier() should be used to create https connections. If ' |
Wiki Markup |
---|
Note : {{disableCNcheck}} is a parameterized boolean, you can use a fixed variable {{true}}\|{{false}} as well as a [Spring externalized property|http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/beans.html#beans-factory-placeholderconfigurer] variable (e.g. {{${disable-https-hostname-verification\}}}) or a [Spring expression|http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/expressions.html#expressions-beandef] (e.g. {{#{systemProperties\['dev-mode'\]\}}}). |
Sample :
...
Please see TLS Configuration page for more information.
Using WSDL
Namespace
The WSDL extension elements used to configure an HTTP client are defined in the namespace http://cxf.apache.org/transports/http/configuration
. It is commonly referred to using the prefix http-conf
. In order to use the HTTP configuration elements you will need to add the line shown below to the definitions
element of your endpoint's WSDL document.
...