Jump to content

Howto redirect http://era to https://era ?


j.schulz
 Share

Recommended Posts

Hi,

 

since ERA is only accessible via https and i forwarded 8443 to 443 i also like to know howto forward http to https with virtual appliance?

Would be nice if i could only type servername into a browser.

 

 

Regards Jens

Link to comment
Share on other sites

  • ESET Staff

This scenario was not tested as it comes with possible security issues.

 

In case you are interested regardless of possible risks, search for next "code" in tomcat configuration file /etc/tomcat*/server.xml (exact path may vary between tomcat version):

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

Once you remove comment marks <!--, --> and restart tomcat service, it will start to listen also on port 8080 and it will redirect communication to port 8443. Now you have to redirect port 80 to 8080 and enable this ports in firewall configuration as you have already done for 443->8443 redirection.

Link to comment
Share on other sites

You may also want to check out this post: https://forum.eset.com/topic/8644-list-of-things-that-would-improve-eset-remote-administrator/?p=45903

 

That is what I used to get to HTTP to HTTPS redirect working on my Windows ERA server.

 

Be sure to make a backup of your server.xml file before doing anything so you can easily revert.

Edited by cbrasga
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...