How does Java handle Certificates in Spring Ws?
Asked Answered
S

1

0

I need to consume a web Service using Spring Ws . I am using WEB service Template. I need to know that by only specifying the certificates in java keystore and trustore will the sending and receiving of certificates happen automatically? Also will the verification of server certificates happen automatically in Spring Ws if the keystore and trustore is configured properly or do I have to write some code?if not Ho do I send and receive certificates in Spring WS?

Sextans answered 3/6, 2016 at 7:48 Comment(0)
J
0

Once you have selected the security interceptor you like to use. Assuming you have all the certificates handy, you can follow below links to set up the one or two way ssl for each of the security interceptor. This links are not most up to date but should get you started.

XwsSecurityInterceptor

Server Security Set up

Client Security Set up

Wss4jSecurityInteceptor

Client and Server Security Set up

Jolee answered 5/6, 2016 at 16:20 Comment(1)
In Two way SSL configuration is the certificate exchange and verification done by tomcat itself or I need to use a security interceptor for achieving two way ssl commnicationSextans

© 2022 - 2024 — McMap. All rights reserved.