在jboss 4.2中配置SSL时出错?

时间:2010-04-12 15:28:37

标签: ssl jboss

我试图在Jboss 4.2上设置.keystore。由于来自jboss社区的这个文档 http://community.jboss.org/wiki/sslsetup

但是Jboss控制台会生成此错误  LifecycleException:service.getName():“jboss.web”;协议处理程序启动失败:

java.io.FileNotFoundException: C:\Documents and Settings\mebada\.keystore (The system cannot find the file specified)

即使我在server.xml中指定密钥库的位置

<Connector className = "org.apache.coyote.tomcat4.CoyoteConnector"
 address="${jboss.bind.address}" port = "8443" protocol="HTTP/1.1" SSLEnabled="true" scheme = "https"
 secure = "true">
 <Factory className = "org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
     keystoreFile="D:/Projects/Demo/jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/conf/server.keystore"
     keystorePass="tc-ssl"
     protocol = "TLS"></Factory>

任何帮助?

提前致谢

1 个答案:

答案 0 :(得分:1)

以上标记无效。

我用过这个标签:

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150"
   scheme="https" secure="false" strategy="ms" address="${jboss.bind.address}"
   keystoreFile="${jboss.server.home.dir}/conf/server.keystore"
   keystorePass="tc-ssl" sslProtocol="TLS"
   truststorePass="tc-ssl"
   acceptAnyCert="true" clientAuth="want" />