AnsweredAssumed Answered

Redirecting HTTP to HTTPS

Question asked by luizaranha on Dec 17, 2013
Hello together,

Another question about configuration of alfresco.

My point is to allow only access to tomcat 7 via https. No http should be allowed.

To my configuration I found no information, and unfortunately I am not able to derive the correct setting.

MyConfig:
Windows 7 pro
Alfresco Community 4.2c
Tomcat
Everything installed out of the box (I only edited SSL in server.xml, which works fine)

Thank you!

Actual I uncommentend in server.xml:

  <Connector executor="tomcatThreadPool"
               port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />


Also I editend Alfresco/tomcat/conf/web.xml at the end of the document to:

    
<security-constraint>
<web-resource-collection>
<web-resource-name>Protected Context</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<!– auth-constraint goes here if you requre authentication –>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>



Cheers Daniel

Outcomes