简体   繁体   中英

Axis2 2-way ssl handshake URL Filter

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM