> ## Documentation Index
> Fetch the complete documentation index at: https://docs.futurex.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Install and configure FXCL CNG

> Steps to deploy client endpoint, install FXCL CNG, and test connection after service deployment.

After deploying the Microsoft ADCS service in CryptoHub, you need to deploy a client endpoint. Endpoints refer to devices that are authorized to access this service. In **Endpoints** menu, you can view and filter details about existing endpoints. You can also add new endpoints by selecting **\[ Add New ]**. This prompts you to enter the device address and specify the endpoint.

Perform the following steps to deploy a client endpoint and install the client library files:

## Deploy client endpoint

<Steps>
  <Step>
    Go to the **Endpoints** menu inside the service you deployed.
  </Step>

  <Step>
    In the **Manage Endpoints** menu, select **\[ Add New ]**.
  </Step>

  <Step>
    In the **Add Endpoint** dialog:

    * Enter a **Name** for the endpoint.
    * Leave the value set the CryptoHub **Hostname** that auto-populates.
    * Select the **Platform** Microsoft ADCS for deployment.
  </Step>

  <Step>
    Select **\[ Add Endpoint ]**.

    The browser should prompt the user to download a zip file containing the **FXCL CNG** module and a configuration file pre-configured to connect to your CryptoHub instance.

    Perform the steps in the next section to install it on the machine where you installed Microsoft ADCS.
  </Step>
</Steps>

## Install FXCL CNG

Perform the following steps to install the **FXCL CNG** module:

<Steps>
  <Step>
    Extract the zip file downloaded in your browser after deploying the service in CryptoHub.
  </Step>

  <Step>
    Go to the extracted directory, which contains the following files:

    * `client.p12`
    * `CNGInstallUtil.exe`
    * `config.json`
    * `InstallCNG.bat`
    * `libfxcl-cng.dll`
    * `UninstallCNG.bat`
  </Step>

  <Step>
    Run the `InstallCNG.bat` file to install FXCL CNG. If the installation fails, create the directory path `C:\Program Files\Futurex\fxcl\kmes\cng` as an administrator and move all the files extracted from the zip into that directory.
  </Step>
</Steps>

## Test the connection

Perform the following steps to test the connection between **FXCL CNG** and the CryptoHub:

<Steps>
  <Step>
    Open either PowerShell or Command Prompt.
  </Step>

  <Step>
    Run the following **certutil** command to test the connection between **FXCL CNG** and the CryptoHub.

    ```text expandable lines wrap title="Text" theme={null}
    certutil -csptest -csp "Futurex FXCL KMES CNG" RSA
    ```

    If the connection is successful, you see the following message in the last line of the command output:

    ```text expandable lines wrap title="Text" theme={null}
    CertUtil: -csptest command completed successfully.
    ```

    If the command fails, check the **FXCL CNG** log (such as `C:\Program Files\Futurex\fxcl\kmes\cng\fxcl.log`) for details about the error.
  </Step>
</Steps>
