Reputation: 41
This is the setup I have
Axis 2
Java 6
Websphere 7
After lot of issues made axis 2 work in Websphere 7 Now I need to implement two Way SSL handshake Seems like I need to implement my own SSLProtocol Factory for apache httpclient.
But the catch here is .I need the ssl cert check only for a service deployed in it. There are totally two services.And I need the SSL check for only one service.
Is there some url filter I can implement so That I can make sure the ssl
works for only the service I intend to not for the whole Project
Can anybody help me. been struggling with this issue for Weeks.
Upvotes: 0
Views: 877
Reputation: 25439
You may have to write your own SSL socket factory that implements the filtering you want. As a starting point, Axis2 includes two SSL socket factory implementations that disable cert checking. This one is for Sun java, while this one is for IBM's JDK. This question has an example of setting Axis2 to use a custom SSL socket factory.
Upvotes: 1