2010-04-12 102 views
1

我試着在Jboss 4.2上設置.keystore。由於來自JBoss的社區本文檔 http://community.jboss.org/wiki/sslsetup在jboss 4.2中配置SSL時出錯?

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

任何幫助指定密鑰庫的位置?

在此先感謝

+0

見羅伯特·胡克的評論,2009年下午10時24文章下方。 – EJP 2013-09-19 01:57:05

回答

1

上面的代碼無效。

我用這個標籤:2月23日的

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