Hi Carlos, No, that only applies for TLS. Al is working with WS-Security message signing, so he needs the signing (CA) cert in his keystore.
Colm. On Thu, Jan 18, 2018 at 1:36 PM, Carlos Sierra Andrés <[email protected]> wrote: > Hi Ai, > > For testing purposes you should be able to download the remote server > certificate using openssl or similar tools > (https://superuser.com/questions/97201/how-to-save-a- > remote-server-ssl-certificate-locally-as-a-file). > > > Once you have the certificate you want to trust, you can store it in a > keyStore and tell the JVM to trust it using: > "-Djavax.net.ssl.trustStore=/path/to/keystore" > > to create the trustStore you can use: > https://docs.oracle.com/cd/E19509-01/820-3503/ggfka/index.html > > Hope this helps. > > Carlos. > > El 18/1/18 a las 14:25, Al Grant escribió: > > Hi, > > > > No I don't - I only have my private key and cert. I can get the server > cert > > soon. > > > > I presume it needs to be imported into the java keystore - and then > somehow > > referenced from the code? > > > > > > > > > > > > -- > > Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html > > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com
