Skip to main content
Skip table of contents

CA Connector - Linux

Follow these steps to install and configure the CA Connector on a Linux server.

Step 1 - Copy the CA Connector to the Server

Start by copying the CA Connector to the Linux server you wish to run the CA Connector on. Use a command such as the following to SCP the file to the host.

BASH
scp ~/Downloads/KeyfactorCAConnector-11.2.0.zip username@<IP_ADDRESS>:/home/username/KeyfactorCAConnector-11.2.0.zip

If you are using public key-based authentication to your server, it would resemble the following command.

BASH
scp -i ~/.ssh/public_key.pem ~/Downloads/KeyfactorCAConnector-11.2.0.zip username@<IP_ADDRESS>:/home/username/KeyfactorCAConnector-11.2.0.zip

Step 2 - Transfer the Installation Script

Use the same command to SCP the SetupConnector_{deploymentName}.sh script to the server. Alternatively, use vi, vim, or nano to create a new file and paste the contents into the file. Add execute permissions to the file once it is created.

CODE
chmod +x SetupConnector_{deploymentName}.sh

Step 3 - Verify File Placement

Ensure that the SetupConnector_{deploymentName}.sh and the RemoteCAClient-<type>-Version.zip file are in the same directory.

Step 4 - Run the Installation Script

Run the SetupConnector_{deploymentName}.sh script.

CODE
./SetupConnector_{deploymentName}.sh

The first thing the script will do is ask you if you want to install into the Default location (/opt/keyfactor) or install in place in the location you are running the installer from.

image-20250926-184154.png

It will then check for and install any dependencies that it needs to run. For additional information on the CA Connector installation requirements, refer to the Command documentation about System Requirements for the CA Connector.

Step 5 - Connect to Command SaaS

Next, it will try to connect to the Command SaaS deployment. If the connection fails, it is likely because it is required to allow any addresses into the Command SaaS deployment via the Self-Service Source IP feature of the Command SaaS Portal.

image-20250926-184314.png

If this happens, run the command to get your outbound IP address and add the corresponding IP Address in the Command SaaS Portal.

CODE
curl ifconfig.me
image-20240315-000342.png

Step 6 - Install Dependencies and Provide Client Secret

The script will then detect your OS version and install .NET Core and any other required dependencies. Once done, the script will ask you for your Client Secret to access your Command SaaS deployment. Copy and paste the Client Secret into the terminal, and then press Enter.

image-20250926-184555.png

It will then provide relevant information at the end of the script:

image-20250926-184654.png

Step 7 - Approve the CA Connector in the Command Portal

You should then see a message telling you to go to the Command Portal view and make sure the CA Connector has an updated Last Seen time.

image-20250926-185622.png

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.