Using WebServiceTemplate with a keystore

后端 未结 6 677
无人共我
无人共我 2021-02-03 10:56

Is it possible to configure a WebServiceTemplate with a java keystore?

edit
I\'m looking for a way to configure the location of the keystore in the

6条回答
  •  甜味超标
    2021-02-03 11:01

    You should install the certificates you need in the keystore (probably the cacerts file) of the JDK used to run your app server using they keytool command.

    Here is an example command:

    keytool -import -trustcacerts -alias someAlias -file someCert.crt -keystore yourKeystore
    

    Edit: Based on the updated question it looks like this may be what you are looking for: http://static.springsource.org/spring-ws/sites/1.5/reference/html/security.html

提交回复
热议问题