Skip to content

Commit

Permalink
[CXF-7889]fix wsdl_first_https example
Browse files Browse the repository at this point in the history
  • Loading branch information
ffang committed Nov 5, 2018
1 parent 0f6490c commit ae5625e
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ private static void setupTLS(Greeter port)
trustStore.load(new FileInputStream(keyStoreLoc), "cspass".toCharArray());
TrustManager[] myTrustStoreKeyManagers = getTrustManagers(trustStore);
tlsCP.setTrustManagers(myTrustStoreKeyManagers);

tlsCP.setDisableCNCheck(true);
httpConduit.setTlsClientParameters(tlsCP);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
-->
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sec="http://cxf.apache.org/configuration/security" xmlns:http="http://cxf.apache.org/transports/http/configuration" xsi:schemaLocation=" http://cxf.apache.org/configuration/security http://cxf.apache.org/schemas/configuration/security.xsd http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
<http:conduit name="{http://apache.org/hello_world_soap_http}SoapPort.http-conduit">
<http:tlsClientParameters>
<http:tlsClientParameters disableCNCheck="true">
<sec:keyManagers keyPassword="ckpass">
<sec:keyStore file="src/main/config/clientKeystore.jks" password="cspass" type="JKS"/>
</sec:keyManagers>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<sec:keyStore file="src/main/config/serviceKeystore.jks" password="sspass" type="JKS"/>
</sec:keyManagers>
<sec:trustManagers>
<sec:keyStore file="src/main/config/serviceKeystore.jks" password="sspass" type="JKS"/>
<sec:keyStore file="src/main/config/stsstore.jks" password="stsspass" type="JKS"/>
</sec:trustManagers>
<sec:clientAuthentication want="true" required="true"/>
</httpj:tlsServerParameters>
Expand Down

0 comments on commit ae5625e

Please sign in to comment.