Nathan Kodak
May 29, 2019 1:21:57 PM

Syncrify - Redirect to HTTPS

Is there is a way to force a redirect from HTTP (primary or secondary port) to the HTTPS port? An option for this would be great.

 

Thanks in advance!



Synametrics support engineer
May 29, 2019 2:44:21 PM

Syncrify - Redirect to HTTPS

Nathan,

If you're using Let's Encrypt, you will need port 80 open. However, try specifying HTTPS in the Preferred URL field. For example: https://backup.yourcompany.com .This will eventually ask every client that are connecting on HTTP to switch to HTTPS.



Nathan Kodak
May 29, 2019 3:59:38 PM

Syncrify - Redirect to HTTPS

I understand that part and have it all setup accordingly. Including the client preferred URL of https://server.domain.com:5443, but what I want to know is if there is anyway to tell it to redirect to the HTTPS port when someone connects to the non-HTTPS port. That way I can ensure that all user connections (credentials, etc) are done via secure communications.



Synametrics support engineer
May 29, 2019 4:23:43 PM

Syncrify - Redirect to HTTPS

Here are the steps:

  • Stop Syncrify
  • Modify $INSTALL_DIR\config\AppConfig.xml using any editor. I recommend you create a backup of this file in case you need to rollback.
  • Add a following parameter line:

    <parameter name="forceHTTPS" type="4" value="true"></parameter>

  • Save the file
  • Restart Syncrify

Once this is done, you will only be able to fetch static contents, such as images, CSS style sheets and java scripts using HTTP.  Since static content will still be available, Let's Encrypt will be able to pull the challenge file. Dynamic contents will be forced to use HTTPS.



Anonymous
May 30, 2019 11:08:55 AM

Syncrify - Redirect to HTTPS

Thanks for the follow up. That was exactly what I was looking for!

Navigation

Social Media

Powered by 10MinutesWeb.com