Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ssl 从HTTP重定向到HTTPS连接后,jboss 5.1不工作_Ssl_Https_Jboss5.x - Fatal编程技术网

Ssl 从HTTP重定向到HTTPS连接后,jboss 5.1不工作

Ssl 从HTTP重定向到HTTPS连接后,jboss 5.1不工作,ssl,https,jboss5.x,Ssl,Https,Jboss5.x,如果重定向到HTTPS url(端口8443),jboss服务器将不工作,以下是WAR包web.xml配置: <security-constraint> <web-resource-collection> <web-resource-name>HtmlAdaptor</web-resource-name> <description>Security for all users</description>

如果重定向到HTTPS url(端口8443),jboss服务器将不工作,以下是WAR包web.xml配置:

 <security-constraint>
  <web-resource-collection>
   <web-resource-name>HtmlAdaptor</web-resource-name>
   <description>Security for all users</description>
   <url-pattern>/all/*</url-pattern>
   <http-method>GET</http-method>
   <http-method>POST</http-method>
  </web-resource-collection>
  <auth-constraint>
   <role-name>role01</role-name>
  </auth-constraint>
  <user-data-constraint>
     <transport-guarantee>CONFIDENTIAL</transport-guarantee>
  </user-data-constraint>
 </security-constraint>

HtmlAdaptor
所有用户的安全
/全部/*
得到
邮递
角色01
保密的
如果我改变

<transport-guarantee>CONFIDENTIAL</transport-guarantee>
机密

服务器可以在8081端口接受HTTP请求

SSL连接应注意哪些配置?
还有其他配置吗

jboss4.x和jboss5.x之间的server.xml配置不同: jboss4.x上以前的server.xml:

  <Connector port="8443" address="{jboss.bind.address}"
       maxThreads="100" strategy="ms" maxHttpHeaderSize="8192"

  <Connector port="8443" address="{jboss.bind.address}"
       maxThreads="100" strategy="ms" maxHttpHeaderSize="8192"
  <Connector protocol="HTTP/1.1" SSLEnabled="true" 
        port="8443" address="{jboss.bind.address}"
       maxThreads="100" strategy="ms" maxHttpHeaderSize="8192"