开发者

Writing Custom SSL Context for Tomcat

I finally setup the SSL in Tomcat with its default context implementation. Now, if someone knows please tell me how to write a custom SSLContext for Tomcat. Can i use the Bean for creating SSLServer Soc开发者_运维知识库kets and mounting them to Tomcat?.. I want to send and receive Objects through these sockets. Can I assign Tomcat to take control over these sockets? Can I provide custom random,truststore and Keymanagers for SSL initialization?


Take a look at http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#SSL_Support. Specifically, trustManagerClassName (at least for handling client certificates).


You could look for sample SSLImplementations and adapt them to your needs from this page: http://code.google.com/p/jsslutils/wiki/ApacheTomcatUsage

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜