{"id":16007,"date":"2019-03-20T16:48:31","date_gmt":"2019-03-20T14:48:31","guid":{"rendered":"https:\/\/tsplus.tempsite.io\/?p=16007"},"modified":"2020-01-13T16:15:34","modified_gmt":"2020-01-13T14:15:34","slug":"enforce-https-protocol","status":"publish","type":"post","link":"https:\/\/tsplus.me\/enforce-https-protocol\/","title":{"rendered":"Enforce HTTPS protocol"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"16007\" class=\"elementor elementor-16007\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-17059b6 elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"17059b6\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c6b2acb jltma-glass-effect-no\" data-id=\"c6b2acb\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-252528d jltma-glass-effect-no elementor-widget elementor-widget-heading\" data-id=\"252528d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Standard Case<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-dceea27 elementor-widget-divider--view-line jltma-glass-effect-no elementor-widget elementor-widget-divider\" data-id=\"dceea27\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a98842a jltma-glass-effect-no elementor-widget elementor-widget-text-editor\" data-id=\"a98842a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"color: #333333;\">Starting from Terminal Service Plus version 9.20, you can redirect every web request which uses HTTP to secure the HTTPS\u00a0 protocol.<\/span><\/p><p><span style=\"color: #333333;\">To activate this feature on a server, edit (or create) the file &#8220;C:\\Program Files (x86)\\TSplus\\Clients\\webserver\\settings.bin&#8221; and add the following line:<\/span><\/p><pre><span style=\"color: #333333;\"><code>disable_http_only=true\n<\/code><\/span><\/pre><p><span style=\"color: #333333;\">Save the file and restart Terminal Service Plus web servers (AdminTool &gt; Web &gt; Restart Web Servers or reread configuration by accessing http:\/\/127.0.0.1\/w0j3?settings.bin).<\/span><\/p><p><span style=\"color: #333333;\">Once this feature is enabled, you can try to browse to the insecure web page at:<\/span><\/p><pre><span style=\"color: #333333;\"><code>http:\/\/your-server\n<\/code><\/span><\/pre><p><span style=\"color: #333333;\">and it will automatically redirect your request to the secure Web Portal page at:<\/span><\/p><pre><span style=\"color: #333333;\"><code>https:\/\/your-server<\/code><\/span><\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-161c60c jltma-glass-effect-no elementor-widget elementor-widget-heading\" data-id=\"161c60c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Special case: Custom Web Ports<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7732559 elementor-widget-divider--view-line jltma-glass-effect-no elementor-widget elementor-widget-divider\" data-id=\"7732559\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-24eeaa8 jltma-glass-effect-no elementor-widget elementor-widget-text-editor\" data-id=\"24eeaa8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"color: #333333;\">If you are using a specific port to serve HTTPS, then edit the file &#8220;C:\\Program Files (x86)\\TSplus\\Clients\\webserver\\settings.bin&#8221; and use the following line instead of the line described above:<\/span><\/p><pre><span style=\"color: #333333;\"><code>disable_http_only=\"domain.com:4431\"\n<\/code><\/span><\/pre><p><span style=\"color: #333333;\">where domain.com is your own server host name and 4431 is your HTTPS custom port.<\/span><\/p><p><span style=\"color: #333333;\">Save the file and restart Terminal Service Plus <a target=\"_blank\" href=\"https:\/\/whatismyipaddress.com\/web-server\" rel=\"noopener\">web servers<\/a> (AdminTool &gt; Web &gt; Restart Web Servers).<\/span><\/p><p><span style=\"color: #333333;\">Once this feature is enabled, you can try to browse to the insecure web page at:<\/span><\/p><pre><span style=\"color: #333333;\"><code>http:\/\/domain.com\n<\/code><\/span><\/pre><p><span style=\"color: #333333;\">and it will automatically redirect your request to the secure Web Portal page at:<\/span><\/p><pre><span style=\"color: #333333;\"><code>https:\/\/domain.com:4431\n<\/code><\/span><\/pre><p><span style=\"color: #333333;\">Comment: Even if this is not secure but you wish to disable ssl\/https on http port then edit the settings.bin file and add: disable_ssl_on_http=true, save and restart the servers.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8129bba jltma-glass-effect-no elementor-widget elementor-widget-heading\" data-id=\"8129bba\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Disable http on https<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5e1acdf elementor-widget-divider--view-line jltma-glass-effect-no elementor-widget elementor-widget-divider\" data-id=\"5e1acdf\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c430143 jltma-glass-effect-no elementor-widget elementor-widget-text-editor\" data-id=\"c430143\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"color: #000000;\">By default it is allowed to access https:\/\/my-domain.com, https:\/\/my-domain.com:80, http:\/\/my-domain.com:443 So it allows http on port 443 or allow https on port 80, it does not have impact on security and makes it easy to fallback to degraded xhr-connection when no web sockets support is possible But if wished to disable it, edit the settings.bin file and add the following line:<\/span><\/p><pre><span style=\"color: #000000;\"><code>disable_http_on_https=true\n<\/code><\/span><\/pre><p><span style=\"color: #000000;\">Then restart Terminal Service Plus web servers (Admin Tool &gt; Web &gt; Restart Web Servers or reread configuration\u00a0<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ecea2ce jltma-glass-effect-no elementor-widget elementor-widget-heading\" data-id=\"ecea2ce\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">HTTPS Enforcement and Free SSL Certificate Validation<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e4b0ff9 elementor-widget-divider--view-line jltma-glass-effect-no elementor-widget elementor-widget-divider\" data-id=\"e4b0ff9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-edb73bc jltma-glass-effect-no elementor-widget elementor-widget-text-editor\" data-id=\"edb73bc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><span style=\"color: #000000;\">Please note that this HTTPS Enforcement feature is fully compatible with our\u00a0<a href=\"https:\/\/tsplus.me\/free-and-easy-to-install-ssl-certificate\/\">Free SSL Certificate<\/a>\u00a0feature.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Standard Case Starting from Terminal Service Plus version 9.20, you can redirect every web request which uses HTTP to the HTTPS secure protocol. To activate this feature on a server, edit (or create) the file &#8220;C:Program Files (x86)TSplusClientswebserversettings.bin&#8221; and add the following line: disable_http_only=true Save the file and restart Terminal Service Plus web servers (AdminTool [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_joinchat":[],"footnotes":""},"categories":[54],"tags":[392],"class_list":["post-16007","post","type-post","status-publish","format-standard","hentry","category-tsplus-documentation","tag-advanced-documentation"],"acf":[],"mb":[],"mfb_rest_fields":["title","gutenberg_elementor_mode"],"_links":{"self":[{"href":"https:\/\/tsplus.me\/wp-json\/wp\/v2\/posts\/16007","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tsplus.me\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tsplus.me\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tsplus.me\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tsplus.me\/wp-json\/wp\/v2\/comments?post=16007"}],"version-history":[{"count":0,"href":"https:\/\/tsplus.me\/wp-json\/wp\/v2\/posts\/16007\/revisions"}],"wp:attachment":[{"href":"https:\/\/tsplus.me\/wp-json\/wp\/v2\/media?parent=16007"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tsplus.me\/wp-json\/wp\/v2\/categories?post=16007"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tsplus.me\/wp-json\/wp\/v2\/tags?post=16007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}