为Tomcat编写自定义SSL上下文 [英] Writing Custom SSL Context for Tomcat
问题描述
我终于在Tomcat中设置了默认上下文实现的SSL。现在,如果有人知道,请告诉我如何为Tomcat编写自定义SSLContext。我可以使用Bean创建SSLServer套接字并将它们安装到Tomcat吗?
我想通过这些套接字发送和接收对象。我可以分配Tomcat来控制这些套接字吗?
我可以为SSL初始化提供自定义随机,信任库和密钥管理器吗?
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 Sockets 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?
推荐答案
$ c> SSLImplementation ,并根据您的需要从此页面进行调整: http://code.google.com/p/jsslutils/wiki/ApacheTomcatUsage
You could look for sample SSLImplementation
s and adapt them to your needs from this page: http://code.google.com/p/jsslutils/wiki/ApacheTomcatUsage
这篇关于为Tomcat编写自定义SSL上下文的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!