I have imported the server certificate into truststore.jks 

keytool -importcert -file CA-root.cer -alias CAcert -keystore truststore.jks
-storepass password

and added a reference to that file in my client_sign.properties:

org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
org.apache.ws.security.crypto.merlin.keystore.type=jks
org.apache.ws.security.crypto.merlin.keystore.password=password
org.apache.ws.security.crypto.merlin.keystore.alias=signingonly
org.apache.ws.security.crypto.merlin.keystore.file=C:\\Users\\Owner\\IdeaProjects\\test\\src\\main\\resources\\keystore.jks

org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
org.apache.ws.security.crypto.merlin.truststore.type=jks
org.apache.ws.security.crypto.merlin.truststore.password=password
org.apache.ws.security.crypto.merlin.truststore.alias=CAcert
org.apache.ws.security.crypto.merlin.truststore.file=C:\\Users\\Path\\To\\\File\\truststore.jks

Was this not the correct way to get the servers cert into my trust store?



--
Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html

Reply via email to