Configuring the CSP

This topic provides instruction on configuring the CSP. After installing the CSP, the configuration wizard opens, which is where this procedure begins. After completing this procedure, the CSP will be able to communicate with the Trust Protection Foundation for authentication and virtual HSM functions.

NOTE  To complete the configuration, you'll need the following:

  • URL for your organization's authentication server (https://TPP_SERVER_URL/vedauth)

  • URL for the HSM backend server (https://TPP_SERVER_URL/vedhsm)

  • The username and password of the Key User.

This procedure requires administrator rights on the Windows workstation you're installing the CSP on.

While you can install and configure the CSP using these steps, code signing certificates will not be installed until approval of a Code Signing Project in which the CSP user is assigned the Key User role.

Configuring the CSP using the configuration wizard

  1. If the CSP Configuration wizard is already open, skip to the next step. If not, navigate to C:\Program Files\Venafi CodeSign Protect\MMC and run Venafi Csp Configuration.msc.

  2. In the left navigation pane, select the client that you want to configure.

  3. In the Actions pane on the right, click Set URLs. Enter the addresses for your Authentication server and your HSM server.

    EXAMPLE  If your company's Trust Protection Foundation URL is TPP_SERVER_URL, enter the following:

    • Authentication Server URL: https://TPP_SERVER_URL/vedauth
    • HSM Server URL: https://TPP_SERVER_URL/vedhsm
  4. In the Actions pane, click Request Access. From the Method drop-down menu, select one of the following options:

    • Username/Password: Enter your Trust Protection Foundation Key User username and password
    • Integrated Windows Authentication: Authenticates a user with Windows username and password.
    • Device Authorization: Gets authorization for the device from the SCIM authentication server. Requires the SCIM Identity connector to be configured.

For more information about the CSP Configuration Console, see Using the CSP Configuration Console.

Installing and configuring the CSP using the command line

To make mass deployments easier, you can script the CSP installation and configuration.

In order to script the configuration, you'll need an answer file. If you don't already have an answer file, follow the steps in Configuring the CSP using the configuration wizard. At the end of that procedure, you'll have the chance to save an answer file, which you can then use to script configuration of the CSP.

NOTE  In the following examples, use of cmd /c is optional and only there to help indicate when the process has completed.

To install the CSP

cmd /c "msiexec /i c:\installs\csc-latest-x86_64.msi /qn HSMSERVERURL=https://TPP_SERVER_URL/vedhsm AUTHSERVERURL=https://TPP_SERVER_URL/vedauth"

To configure the CSP

Use the CSPConfig, PKCS11Config, or GPGConfig commands to script configuration.

Understanding and configuring the blocklist to block calling applications

The Blocklist registry key, located in SOFTWARE\Venafi\CSP , specifies a list of blocked calling applications. This key can be either a REG_SZ or REG_MULTI_SZ type. If the key has no value, the blocklist is disabled.

By default, if the registry key is not set, the client will block calls from IIS (specifically w3wp). This behavior helps prevent loading the Code Sign Manager - Self-Hosted CSP/KSP from Trust Protection Foundation, which runs within IIS.

To allow the CSP/KSP to run from IIS, create the registry key with an empty list.

IMPORTANT  This should only be done on systems where Trust Protection Foundation is not installed.