|
Page Created :
CXF20DOC :
Standalone HTTP Transport
Standalone HTTP Transport has been created by Dan Diephouse (Mar 25, 2007). Content:Configuring SSLTo configure the standalone HTTP transport to use SSL, you'll need to add an <http:destination> definition to your XML configuration file. See the Configuration guide to learn how to supply your own XML configuration file to CXF. If you are already using Spring, this can be added to your existing beans definitions. Destinations in CXF are responsible for listening for server side requests. <http:destination id=" Unknown macro: {http} GreeterImplPort.http-destination"><http:sslServer> <sec:Keystore>src/demo/hw_https/resources/celtix.p12</sec:Keystore> <sec:KeystoreType>PKCS12</sec:KeystoreType> <sec:KeystorePassword>celtixpass</sec:KeystorePassword> <sec:KeyPassword>celtixpass</sec:KeyPassword> <sec:WantClientAuthentication>true</sec:WantClientAuthentication> <sec:RequireClientAuthentication>true</sec:RequireClientAuthentication> <sec:TrustStore>src/demo/hw_https/resources/celtixp12.truststore</sec:TrustStore> <sec:CiphersuiteFilters> <!-- these filters ensure that a ciphersuite with export-suitable or null encryption is used, but exclude anonymous Diffie-Hellman key change as this is vulnerable to man-in-the-middle attacks --> <sec:include>.EXPORT.</sec:include> <sec:include>.EXPORT1024.</sec:include> <sec:include>.WITH_DES.</sec:include> <sec:include>.WITH_NULL.</sec:include> <sec:exclude>.DH_anon.</sec:exclude> </sec:CiphersuiteFilters> </http:sslServer> </http:destination> </beans> |
Unsubscribe or edit your notifications preferences
