且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用Axis2 / Java创建SSL客户端

更新时间:2022-05-28 21:28:06

您可能对这个问题的回答。特别是,Axis 2似乎正在使用Apache HttpClient 3.x,根据本文档

You may be interested in this answer to a similar question. In particular, Axis 2 seems to be using Apache HttpClient 3.x, according to this document:


如果要执行SSL客户端
身份验证(2路) SSL),你可以
使用HttpClient的Protocol.registerProtocol
功能。您可以
覆盖https协议,或者使用
a不同协议进行SSL
客户端身份验证通信
如果您不想使用常规
https 。有关详细信息,请参阅
http://jakarta.apache.org/commons/ httpclient / sslguide.html

(您可以从现有密钥库构建SSLContext,并使用此套接字工厂。)

(You can build your SSLContext from your existing keystore, and configure HttpClient 3.1 using this socket factory.)