Tech Tip: Changing TLS versions programmatically
PRODUCT: 4D | VERSION: 20 | PLATFORM: Mac & Win
Published On: October 28, 2024
When changing the minimum TLS version of your server through the On Server Startup method, you may find that value did not change despite the command working as expected outside of the startup method. To get around this, manually stop the web server and restart it after inserting the command.
WEB STOP SERVER SET DATABASE PARAMETER(Min TLS version; TLSv1_2) WEB START SERVER |
Please note the following versions that 4D 20 has deprecated TLSv1_0 and TLSv1_1. More information on possible values for the Min TLS version for the SET DATABASE PARAMETER command could be found through the link below:
https://kb.4d.com/assetid=79250