--- title: "Configuring the ICAP server port and SSL certificate using the CLI" slug: "configuring-the-icap-server-port-and-ssl-certificate-using-the-cli" tags: ["Product Usage", "EX 11.x", "FX 11.x", "AX 11.x", "NX 11.x", "Network Security"] updated: 2026-09-12T20:42:26Z published: 2026-09-12T20:42:26Z canonical: "docs.trellix.com/configuring-the-icap-server-port-and-ssl-certificate-using-the-cli" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Configuring the ICAP server port and SSL certificate using the CLI Follow these steps to configure the ICAP server port and SSL certificate using the CLI. Prerequisites - Administrator access to the Network Security appliance - You have enabled the ICAP service on the Network Security appliance. For details, see [Enabling or disabling ICAP service using the CLI](/network-and-platform/docs/enabling-or-disabling-icap-service-using-the-cli). - You have enabled the request modification mode or response modification mode. For details, see [Enabling or disabling ICAP request and response modification modes using the CLI](/network-and-platform/docs/enabling-or-disabling-icap-request-and-response-modification-modes-using-the-cli). **To configure the ICAP server port and SSL certificate:** ``` hostname (config) # write memory ``` 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Specify the TCP port for traffic sent over ICAP. Use the following command, where `<port_number>` is the TCP port number: ``` hostname (config) # icap-service tcp port ``` By default, the ICAP server listens for traffic on port 1344. 3. Specify the TCP port for a secure ICAP connection between the Network Security appliance and the ICAP client. Use the following command, where `<port_number>` is the TCP port number. ``` hostname (config) # icap-service secure port ``` By default, a secure ICAP connection is on port 11344. 4. Specify the management interface to receive traffic sent over ICAP on the Network Security appliance. Use one of the following commands: - ``` hostname (config) # icap-service interface ether1 ``` - ``` hostname (config) # icap-service interface ether2 ``` 5. Specify the SSL certificate that is submitted by the ICAP server to connect to ICAP clients over secure ICAP connections. Use the following command, where `<certificateName>` is the name of the certificate: ``` hostname (config) # icap-service secure certificate ``` By default, the system-self-signed certificate is used to establish secure communication. 6. Verify the configuration your changes: ``` hostname (config) # show icap-service config ICAP Configuration:  ICAP enabled               :  no  Interface                  :  ether1  Request Mod Enabled        :  yes  Response Mod Enabled       :  yes  Block-mode Enabled         :  no  Response-page Enabled      :  yes  TCP port                   :  1344  Secure port                :  11344  Secure Certificate         :  system-self-signed  Max Connection             :  25 ``` 7. Save your changes.