To change the port for connecting to the Integration Server, use the account that has administrator rights:
- View the parameters of connecting to the Integration Server by running the following command:
C:\Windows\system32>netsh http show sslcert
- Save the values of the following parameters: IP:port, Certificate Hash and Application ID.
SSL Certificate bindings:
-------------------------
IP:port : 0.0.0.0:7271
Certificate Hash : ccd9c9c661c8e3da4fc567da48f3a06e708a7654
Application ID : {c1e1e87f-1818-4ac3-897b-a8e10f790659}
Certificate Store Name : My
- Stop the viis service:
net stop viis
- Delete the current certificate. To do so, use the previous value of IP:port:
netsh http delete sslcert ipport=0.0.0.0:7271
- Set a new port using the previously obtained values of Certificate Hash and Application ID:
netsh http add sslcert ipport=0.0.0.0:7654 certhash=ccd9c9c661c8e3da4fc567da48f3a06e708a7654 appid={c1e1e87f-1818-4ac3-897b-a8e10f790659}
If you run the command from PowerShell, put quotes around the value of the appid='{<value>}' parameter to avoid the "Parameter is incorrect" error.
- Block access to the previous port if you do not plan to use it:
netsh http delete urlacl url=https://*:7271/
- Give network services access to the new port:
netsh http add urlacl url=https://*:7654/ user="NETWORK SERVICE"
- Open C:\Program Files (x86)\Kaspersky Lab\Kaspersky VIIS and find the configuration file of the Integration Server viislaservice.exe.config. In this file, set the new port value in the following line:
<add key="address" value="https://localhost:7654/"/>
- Run the viis service again:
net start viis
The port for connecting to the Integration Server will be changed.