To prepare the TREX name server for HTTPS, change the communication protocol from HTTP to HTTPS in the configuration file TREXWebServer.ini and enter the name of the keystore ( SAPSSLS.pse) that you created already for the configuration of secure communication between the TREX preprocessor and the Web server of the application using TREX (see Generating a Keystore Using SAPGENPSE).
If you have already configured secure communication (HTTPS) between the TREX Web server and the TREX Java Client, you have already made both changes in the TREXWebServer.ini configuration file (see Configuring Secure Communication on the Web Server).
Using a text editor, open the <TREX_Directory>\TREXWebServer.ini configuration file on the host on which the TREX Web server is installed.
In the [HTTPServer] section, change the URL parameter from http to https: URL_IIS=https://<%trexserver%>:3<trex_instance_number>44/TREXHttpServer/TREXISAPIExt.dll.
In the same section, for the parameter certfile, enter the value SAPSSLS.pse for the keystore used.
URL_IIS = https://P54896.wdf.sap-ag.de: 34844 /TREXHttpServer/TREXISAPIExt.dll
certfile = <homedirectory>/sec/ SAPSSLS.pse
This port number 38444 is valid for a TREX installation with the instance number 48.
Save the TREXWebServer.ini file and close the text editor.
You have to restart TREX in order for the changes to the configuration file TREXWebServer.ini to be accepted by TREX.