I need to create SSL secured Web Service client using CXF Spring configuration and I wonder how do I tell to CXF to use client certificate from my keystore? Do i need to create cxf.xml file under WEB-INF ? If yes what should i include there?
I need just the client side, as the server side is a 3rd party provider im connecting to.
I do have the following dependencies in my pom
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxws</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>${cxf.version}</version>
</dependency>
Thank you!