ssl - 在 jboss 4.2 中配置 SSL 时出错?

标签 ssl jboss

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

但是 Jboss 控制台产生这个错误 LifecycleException: service.getName(): "jboss.web";协议(protocol)处理程序启动失败:

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

即使我在 server.xml 中指定 keystore 的位置

<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>

有什么帮助吗?

提前致谢

最佳答案

上面的标签无效。

我使用了这个标签:

<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" />

关于ssl - 在 jboss 4.2 中配置 SSL 时出错?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2623215/

相关文章:

c++ - Libcurl 停止工作,SSL 连接错误

jboss - jBPM 简介

ssl - 自签名证书无法访问链接

ssl - 无法使用 Let's Encrypt 证书通过 ldaps 连接到服务器

.htaccess - 自定义 404 错误重定向不适用于 htaccess 文件中的 https 请求

docker Jboss/wildfly : How to add datasources and MySQL connector

java - 将消息驱动 Bean 部署到 JBoss 服务器

java - 在 Eclipse 中以编程方式停止和启动 JBoss

java - 使用 commons-fileupload 时出现 NoClassDefFoundError

Heroku 上的 SSL 证书