Cisco Security Cloud Control: Secure Firewall Management

PDF

Cisco Security Cloud Control: Secure Firewall Management

Troubleshoot a secure device connector

Want to summarize with AI?

Log in

Provides troubleshooting guidance for Secure Device Connector issues, including unreachable SDCs, inactive status, IP address changes, device connectivity problems, system time errors, version issues, and AWS certificate or connection errors.


Use these topics to troubleshoot an on-premises Secure Device Connector (SDC).

If none of these scenarios match yours, open a case with Cisco Technical Assistance Center.


Resolve unreachable SDC status

Restore communication between an unreachable SDC and your tenant to enable device management capabilities.

An SDC is in the state "Unreachable" if it has failed to respond to two heartbeat requests from Security Cloud Control in a row. If your SDC is unreachable, your tenant will not be able to communicate with any of the devices you have onboarded.

Security Cloud Control indicates that an SDC is unreachable in these ways:

  • You see the message, "Some Secure Device Connectors (SDC) are unreachable. You will not be able to communicate with devices associated with these SDCs." on the Security Cloud Control home page.

  • The SDC's status in the Services page is "Unreachable."

Before you begin

Follow these steps to resolve the unreachable SDC issue:

Procedure

  1. Check that the SDC virtual machine is running and can reach a Security Cloud Control IP address in your region.

  2. Attempt to reconnect Security Cloud Control and the SDC by requesting a heartbeat manually.

    If the SDC responds to a heartbeat request, it will return to "Active" status. To request a heartbeat manually:

    1. In the left pane, choose Administration > Integrations > Secure Connectors.

    2. Click the SDC that is unreachable.

    3. In the Actions pane, click Request Heartbeat.

    4. Click Reconnect.

  3. If the SDC does not return to the Active status after manually attempting to reconnect it to your tenant, follow the instructions in Troubleshoot SDC status not active on Security Cloud Control after deployment.

The SDC returns to "Active" status and communication is restored between the SDC and your tenant, enabling device management capabilities.


Troubleshoot SDC status not active on Security Cloud Control after deployment

Resolve connectivity issues when SDC status does not show as active on Security Cloud Control within the expected timeframe.

If Security Cloud Control does not indicate that your SDC is active in about 10 minutes after deployment, connect to the SDC VM using SSH using the Security Cloud Control user and password you created when you deployed the SDC.

Procedure

  1. In Security Cloud Control, click on the SDC that isn't showing as active, and click Request Heartbeat.

  2. Ensure that the container is running using the command:

    docker ps

  3. View the SDC logs and check for errors using the command:

    SDC show logs

  4. Restart the container using the command:

    SDC restart

The SDC status should become active on Security Cloud Control after completing these troubleshooting steps.


Update the changed IP address of the SDC in Security Cloud Control

This task ensures that Security Cloud Control displays the correct, updated IP address for your Secure Device Connector (SDC) when the IP address has changed.

When an SDC's IP address changes, Security Cloud Control may not immediately reflect this change. You need to manually request a heartbeat to update the displayed information.

Procedure

  1. In Security Cloud Control, click on the SDC that isn't showing as active.

  2. In the sidebar, click Request Heartbeat.

  3. Make sure the container is running using the command: docker ps

  4. View the SDC logs and check for errors using the command SDC show logs

  5. Restart the container using the command SDC restart

  6. Refresh your browser to view the updated IP address of the SDC.

The updated IP address of the SDC is now reflected in Security Cloud Control and the SDC shows as active.


Troubleshoot device connectivity with the SDC

Test connectivity from Security Cloud Control, through the Secure Device Connector (SDC) to your device.

You may want to test this connectivity if your device fails to onboard or if you want to determine, before on-boarding, if Security Cloud Control can reach your device.

Procedure

  1. From the Security Cloud Control Home page, click Firewall.

  2. In the left pane, click Administration > Integrations > Firewall Management Center, and click the Secure Connectors tab.

  3. Select the SDC.

  4. In the Troubleshooting pane on the right, click Device Connectivity.

  5. Enter a valid IP address or FQDN and port number of the device you are attempting to troubleshoot, or attempting to connect to, and click Go.

    Security Cloud Control performs the following verifications:

    1. DNS Resolution - If you provide a FQDN instead of an IP address, this verifies the SDC can resolve the domain name and acquires the IP address.
    2. Connection Test - Verifies the device is reachable.
    3. TLS Support - Detects the TLS versions and ciphers that both the device and the SDC support.
      • Unsupported Cipher - If there are no TLS version that are supported by both the device and the SDC, Security Cloud Control also tests for TLS versions and ciphers that are supported by the device, but not the SDC.

    4. SSL Certificate - The troubleshoot provides certificate information.
  6. If you continue to have issues onboarding or connecting to the device, contact Security Cloud Control support.

The connectivity test completes and displays the results of DNS resolution, connection test, TLS support, and SSL certificate verification between Security Cloud Control and your device through the SDC.


Resolve intermittent or no connectivity with SDC

This task resolves intermittent or no connectivity issues with Secure Device Connector (SDC) that occur when disk space usage exceeds 80 percent.

The Secure Device Connector (SDC) has been installed on CentOS 7 virtual machines up to now. However, as CentOS has reached its end-of-life and is no longer supported by Firewall in Security Cloud Control, we recommend migrating all SDCs from CentOS 7 to an Ubuntu virtual machine.

For more information, see Migrate an On-Premises Secure Device Connector and Secure Event Connector from a CentOS 7 Virtual Machine to an Ubuntu Virtual Machine.

This procedure applies only to an on-premise SDC and if you are still using CentOS.

Symptom: Intermittent or no connectivity with SDC.

Diagnosis: This problem may occur if the disk space is almost full (above 80%).

Before you begin

Follow these steps to check the disk space usage before performing this task:

  1. Open the console for your Secure Device Connector (SDC) VM.

  2. Log in with the username cdo.

  3. Enter the password created during the initial login.

  4. First, check the amount of free disk space by typing df -h to confirm that there is no free disk space available.

    You can confirm that the disk space was consumed by the Docker. The normal disk usage is expected to be under 2 Gigabytes.

  5. To see the disk usage of the Docker folder, execute sudo du -h /var/lib/docker | sort -h.

    You can see the disk space usage of the Docker folder.

Follow these steps to configure Docker log rotation if the disk space usage of the Docker folder is almost full:

Procedure

  1. Execute sudo vi /etc/docker/daemon.json.

  2. Insert the following lines to the file.

    Example:

    {

    "log-driver": "json-file",

    "log-opts": {"max-size": "100m", "max-file": "5" }

    }

    • Max-size: To force a log rotation once the current file reaches the maximum size.

    • Max-file: To delete excess rotated log files when the maximum limit it reached.

  3. Press ESC and then type :wq! to write the changes and close the file.

    Note

    You can execute sudo cat /etc/docker/daemon.json to verify the changes made to the file.

  4. Execute sudo systemctl restart docker to restart the docker file.

    It will take a few minutes for the changes to take effect. You can execute sudo du -h /var/lib/docker | sort -h to see the updated disk usage of the docker folder.

  5. Execute df -h to verify that the free disk size has increased.

  6. Before your SDC status can change from Unreachable to Active, go to the Secure Connectors tab which you can navigate to from Administration > Integrations > Firewall Management Center and click Request Reconnect from the Actions menu.

The SDC status changes from Unreachable to Active, and connectivity issues are resolved.


Container privilege escalation vulnerability affecting secure device connector: cisco-sa-20190215-runc

The Cisco Product Security Incident Response Team (PSIRT) published the security advisory cisco-sa-20190215-runc which describes a high-severity vulnerability in Docker. Read the entire PSIRT team advisory for a full explanation of the vulnerability.

This vulnerability impacts all Security Cloud Control customers:


Invalid system time

This task corrects system time synchronization issues that prevent successful migration of your Secure Device Connector (SDC) to the new communication method. Proper time synchronization ensures your SDC can communicate effectively with Security Cloud Control.

The Secure Device Connector (SDC) has been installed on CentOS 7 virtual machines up to now. However, as CentOS has reached its end-of-life and is no longer supported by Firewall in Security Cloud Control, we recommend migrating all SDCs from CentOS 7 to an Ubuntu virtual machine.

For more information, see Migrate an On-Premises Secure Device Connector and Secure Event Connector from a CentOS 7 Virtual Machine to an Ubuntu Virtual Machine.

This procedure applies if you are still using CentOS.

  • Security Cloud Control is adapting a new way of communicating with the Secure Device Connector (SDC). To facilitate this, Security Cloud Control must migrate your existing SDC to the new communication method by February 1, 2024.

    Note

    If your SDC is not migrated by February 1, 2024, Security Cloud Control will no longer be able to communicate with your devices through the SDC.

  • Security Cloud Control's operations team attempted to migrate your SDC but was unsuccessful because your SDC system time was 15 minutes ahead or behind the AWS system time.

Before you begin

Follow these steps below to correct the system time issue. Once this problem is resolved, you can proceed with the migration.

Procedure

  1. Login to your SDC VM throught the VM terminal or by making an SSH connection.

  2. At the prompt, enter sudo SDC-onboard setup and authenticate.

  3. You are now going to respond to the SDC setup questions as if you are were setting up the SDC for the first time. Re-enter all the same passwords and network information as you had before, except take special note of the NTP server address:

    1. Reset the root and Security Cloud Control user passwords with the same passowrds you used to setup the SDC.
    2. When prompted, enter y to re-configure the network.
    3. Enter the value for IP address/CIDR as you had before.
    4. Enter the value for the network gateway as you had before.
    5. Enter the value for the DNS Server as you had before.
    6. When prompted for the NTP server, be sure to provide a valid NTP server address, such as time.AWS.com .
    7. Review the values you provided and enter y if they are correct.
  4. Validate that your time server is reachable and synchronized with your SDC by entering date at the prompt. The UTC date and time are displayed and you can compare it to your SDC time.

    Contact the Cisco Technical Assistance Center (TAC) once you have completed these steps, or in case you encounter any errors. Once you have successfully completed these steps, the Security Cloud Control operations team can complete your SDC migration to the new communication method.

Your SDC system time is now synchronized with the AWS system time, resolving the time synchronization issue that prevented successful migration. The Security Cloud Control operations team can now complete your SDC migration to the new communication method.


Upgrade SDC version lower than 202311****

This task upgrades your SDC to the required version so that Security Cloud Control operations can successfully migrate your SDC to the new communication method.

The Secure Device Connector (SDC) has been installed on CentOS 7 virtual machines up to now. However, as CentOS has reached its end-of-life and is no longer supported by Firewall in Security Cloud Control, we recommend migrating all SDCs from CentOS 7 to an Ubuntu virtual machine.

For more information, see Migrate an On-Premises Secure Device Connector and Secure Event Connector from a CentOS 7 Virtual Machine to an Ubuntu Virtual Machine.

This procedure applies if you are still using CentOS.

  • Security Cloud Control is adapting a new way of communicating with the Secure Device Connector (SDC). To facilitate this, Security Cloud Control must migrate your existing SDC to the new communication method by February 1, 2024.

    Note

    If your SDC is not migrated by February 1, 2024, Security Cloud Control will no longer be able to communicate with your devices through the SDC.

  • Security Cloud Control's operations team attempted to migrate your SDC but was unsuccessful because your tenant is running a version lower than 202311****.

  • The current version of your SDC is listed on the Secure Connectors page by navigating from the Security Cloud Control navigation menu, Administration > Integrations > Secure Connectors. After selecting your SDC, its version number is found in the Details pane on the right of the screen.

Follow these steps to upgrade the SDC version to 202311**** or later:

Procedure

  1. Log in to the SDC VM and authenticate.

  2. At the prompt, enter sudo su - SDC and authenticate.

  3. At the prompt, enter crontab -r .

    If you receive the message no crontab for SDC you can ignore it and move to the next step.

  4. At the prompt, enter ./toolkit/toolkit.sh upgrade .

    Security Cloud Control will determine if you need an upgrade and upgrade the toolkit. Ensure that no errors were reported in the console.

  5. Verify the new version of the SDC:

    1. Log in to Security Cloud Control.
    2. Navigate to the Secure Connectors page by navigating from the Security Cloud Control menu bar, Tools & Services > Secure Connectors.
    3. Select your SDC and click Request Heartbeat in the Actions pane.
    4. Validate that the SDC version is 202311**** or later.

    Contact the Cisco Technical Assistance Center (TAC) once you have completed these steps, or in case you encounter any errors. Once you have successfully completed these steps, the Security Cloud Control operations team can run the migration process again.

Your SDC is upgraded to version 202311**** or later, enabling the Security Cloud Control operations team to successfully migrate your SDC to the new communication method.


Certificate or connection errors with AWS servers

This task resolves connection issues that prevent the migration of your Secure Device Connector (SDC) to Security Cloud Control's new communication method.

Security Cloud Control is adapting a new way of communicating with the Secure Device Connector (SDC). To facilitate this, Security Cloud Control must migrate your existing SDC to the new communication method by February 1, 2024.

Note

If your SDC is not migrated by February 1, 2024, Security Cloud Control will no longer be able to communicate with your devices through the SDC.

Security Cloud Control's operations team attempted to migrate your SDC but was unsuccessful because they experienced a connection issue.

Follow these steps to correct the connection issue:

Procedure

  1. Create firewall rules that allow outbound proxy connections, on port 443, to the domains in your region:

    • Production tenants in the Australia region:

      • cognito-identity.ap-southeast-2.amazonaws.com

      • cognito-idp.ap-southeast-2.amazonaws.com

      • sns.ap-southeast-2.amazonaws.com

      • sqs.ap-southeast-2.amazonaws.com

    • Production tenants in the India region:

      • cognito-identity.ap-south-1.amazonaws.com

      • cognito-idp.ap-south-1.amazonaws.com

      • sns.ap-south-1.amazonaws.com

      • sqs.ap-south-1.amazonaws.com

    • Production tenants in the US region:

      • cognito-identity.US-west-2.amazonaws.com

      • cognito-idp.US-west-2.amazonaws.com

      • sns.US-west-2.amazonaws.com

      • sqs.US-west-2.amazonaws.com

    • Production tenants in the EU region:

      • cognito-identity.EU-central-1.amazonaws.com

      • cognito-idp.EU-central-1.amazonaws.com

      • sns.EU-central-1.amazonaws.com

      • sqs.EU-central-1.amazonaws.com

    • Production tenants in the APJ region:

      • cognito-identity.ap-northeast-1.amazonaws.com

      • cognito-idp.ap-northeast-1.amazonaws.com

      • sqs.ap-northeast-1.amazonaws.com

      • sns.ap-northeast-1.amazonaws.com

  2. You can determine the full list of IP addresses you need to add to your firewall's "allow list" by using one of the commands below.

    Note

    The commands below are for users that have jq installed. The IP addresses will be displayed in a single list.

    • Production tenants in the US region:
      curl -s https://ip-ranges.amazonaws.com/ip-ranges.json | jq -r '.prefixes[] | select( (.service == "AMAZON" ) and .region == "us-west-2") | .ip_prefix'
    • Production tenants in the EU region:
      curl -s https://ip-ranges.amazonaws.com/ip-ranges.json | jq -r '.prefixes[] | select( (.service == "AMAZON" ) and .region == "eu-central-1") | .ip_prefix'
    • Production tenants in the APJ region:
      curl -s https://ip-ranges.amazonaws.com/ip-ranges.json | jq -r '.prefixes[] | select( (.service == "AMAZON" ) and .region == "ap-northeast-1") | .ip_prefix'
    Note
    If you don't have jq installed, you can use this shortened version of the command:
    curl -s https://ip-ranges.amazonaws.com/ip-ranges.json

    Contact the Cisco Technical Assistance Center (TAC) once you have completed these steps, or in case you encounter any errors. Once you have successfully completed these steps, the Security Cloud Control operations team can complete your SDC migration to the new communication method.

Once the connection issue is resolved, the Security Cloud Control operations team can proceed with the migration of your SDC to the new communication method.