Forzar el protocolo HTTPS
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 “C:\Program Files (x86)\TSplus\Clients\webserver\settings.bin” and add the following line:
disable_http_only=true
Save the file and restart the web servers of Terminal Service Plus (AdminTool > Web > Restart Web Servers or reread configuration by accessing http://127.0.0.1/w0j3?settings.bin ).
Once this feature is enabled, you can try to browse to the insecure web page at:
and it will automatically redirect your request to the secure Web Portal page at:
Cas spécial : Ports Web personnalisés
If you are using a specific port to serve HTTPS, then edit the file “C:\Program Files (x86)\TSplus\Clients\webserver\settings.bin” and use the following line instead of the line described above:
disable_http_only="domain.com:4431"
where domain.com es el nombre de host de su propio servidor y 4431 es su puerto HTTPS personalizado.
Save the file and restart Terminal Service Plus web servers (AdminTool > Web > Restart Web Servers).
Once this feature is enabled, you can try to browse to the insecure web page at:
and it will automatically redirect your request to the secure Web Portal page at:
Comment: Même si cela n'est pas sécurisé, mais que vous souhaitez désactiver ssl/https sur le port http, modifiez le fichier settings.bin et ajoutez : disable_ssl_on_http=true, enregistrez et redémarrez les serveurs.
Desactivar http en https
Par défaut, l'accès est autorisé. https://my-domain.com , https://my-domain.com:80 , http://my-domain.com:443 So it allows http on port 443 or allows https on port 80, it does not have an impact on security and makes it easy to fall back to a degraded xhr-connection when no websockets support is possible. But if you wish to disable it, edit the settings.bin file and add the following line:
disable_http_on_https=true
Then restart Terminal Service Plus web servers (AdminTool > Web > Restart Web Servers or reread configuration http://127.0.0.1/w0j3?settings.bin )
HTTPS-Durchsetzung und kostenlose SSL-Zertifikatvalidierung
Please note that this HTTPS Enforcement feature is fully compatible with our Certificado SSL gratuito feature.