Kaspersky Security Center

Using the klscflag utility to open the OpenAPI port

June 17, 2024

ID 251704

The OpenAPI port is used by Kaspersky Security Center Web Console to connect to the Administration Server. The default value for the OpenAPI port is 13299.

To open the OpenAPI port:

  1. Execute the following command in the command line:

    $ /opt/kaspersky/ksc64/sbin/klscflag -ssvset -pv klserver -s 87 -n KLSRV_SP_OPEN_OAPI_PORT -sv true -svt BOOL_T -ss "|ss_type = \"SS_SETTINGS\";"

  2. Restart the Kaspersky Security Center Linux Administration Server service by executing the following command:

    $ sudo systemctl restart kladminserver_srv

The OpenAPI port is open.

To check if the OpenAPI port has been opened successfully, execute the following command in the command line:

$ /opt/kaspersky/ksc64/sbin/klscflag -ssvget -pv klserver -s 87 -n KLSRV_SP_OPEN_OAPI_PORT -svt BOOL_T -ss "|ss_type = \"SS_SETTINGS\";"

This command returns the following result:

+--- (PARAMS_T)

+---KLSRV_SP_OPEN_OAPI_PORT = (BOOL_T)true

The true value means that the port is open. Otherwise, the false value is displayed.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.