2012-03-06 115 views
1

我有一个Jboss SSL连接的问题。当我尝试通过使用我的浏览器更改客户端的Windows主机文件(192.168.80.115 zimbrax.com)来连接到JBOSS时,我无法访问。我收到“无法连接”错误。但是当我尝试通过使用127.0.0.1 zimbrax.com连接服务器上的以便我可以访问。jboss-5.1.0.GA SSL本地主机/客户端连接

我的客户端和jboss服务器之间没有防火墙或其他工具。

以下是我的SSL配置。 (顺便说一下有没有同样的问题以http://但只有https://开头)

的server.xml:

<Connector protocol="HTTP/1.1" SSLEnabled="true" 
      port="443" address="${jboss.bind.address}" 
      scheme="https" secure="true" clientAuth="false" 
      keystoreFile="D:\jboss-5.1.0.GA\server\zimbrax\conf\zimbrax.com.jks" 
      keystorePass="6v4xse32a096be4x" useBodyEncodingForURI="true" sslProtocol = "TLS" /> 

绑定的jboss-beans.xml文件

<!-- For services like those listed above that need to know the 
       port of the HTTPS connector --> 
<bean class="org.jboss.services.binding.ServiceBindingMetadata"> 
    <property name="serviceName">jboss.web:service=WebServer</property> 
    <property name="bindingName">HttpsConnector</property> 
    <property name="port">443</property> 
    <property name="description">JBoss Web HTTPS connector socket</property> 
</bean> 

<xsl:variable name="portHttps" select="443"/> 

<xsl:when test="(name() = 'port' and . = '443')"> 
    <xsl:attribute name="port"><xsl:value-of select="$portHttps" /></xsl:attribute> 
</xsl:when> 

这是我的JBoss启动:

d: CD d:\ JBoss-5.1.0.GA \ BIN 的run.bat -b 0.0.0.0 -c zimbrax -Djavax.net.ssl.keyStore =“d :/jboss-5.1.0.GA/server/zimbrax/conf/zimbra x.com.jks“

我应该在哪里检查?

你能帮我吗?

回答

0

你是说它在http上工作吗?你用什么网址?

请尝试https://ipaddress/并让我们知道你在找什么。

相关问题