> ## 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.

# Nexus PKI

> Conceptual overview of the Nexus Smart ID PKI platform and how its certificate authority keys are protected by CryptoHub through Futurex PKCS #11.

Nexus Smart ID is a public key infrastructure (PKI) and identity platform from Nexus Group. Smart ID Certificate Manager (CM) is its certificate authority (CA) engine: it issues, renews, and revokes certificates for servers, users, and devices. Smart ID Identity Manager and Smart ID Self-Service add request, approval, and self-service workflows on top of Certificate Manager.

This integration stores the Certificate Manager CA signing key on CryptoHub through the Futurex PKCS #11 (FXPKCS11) module. Certificate Manager builds each certificate locally, sends the signing operation to CryptoHub over the Host API, and embeds the returned signature. The CA private key is generated on the appliance and never written to the Certificate Manager host.

## Key features

This integration has the following features:

* **Hardware-backed CA key**: Generate the CA key pair directly on CryptoHub with the Nexus `hwsetup` tool, so the key that signs every certificate is created inside the HSM.
* **Standard PKCS #11 interface**: Certificate Manager reaches CryptoHub through its built-in PKCS #11 support and the FXPKCS11 module, with no custom code.
* **Approval-driven issuance**: Requests submitted in Smart ID Self-Service pass through an approval step in Identity Manager before Certificate Manager signs them.
* **Root or subordinate CA**: Use the CryptoHub-resident key for a self-signed root CA or for a subordinate CA under an existing root.
* **Traceable keys**: Each key that `hwsetup` creates appears in the CryptoHub **Key Management** menu under the key group of the service you deploy, so you can match a CA certificate to the key that signs for it.

## Benefits of CryptoHub integration through PKCS #11

Integrating with CryptoHub provides the following benefits:

* **Enhanced security**: The CA private key is generated as a nonexportable token object on CryptoHub, so a compromise of the Certificate Manager host does not yield the key that signs your certificates.
* **Centralized key management**: CryptoHub provides one repository for CA signing keys, which simplifies access review and audit.
* **Policy-based controls**: CryptoHub identity and permission controls govern which application identities can use the CA key.
* **Compliance readiness**: Storing CA keys in a Futurex HSM helps you meet requirements that mandate hardware protection for certificate authority private keys.
* **Operational resilience**: CryptoHub high-availability and failover features keep the signing path available during a system failure.

## How the integration works

Nexus PKI certificate flow. During one-time setup, hwsetup generates the CA key pair on CryptoHub through Futurex PKCS #11. During issuance, a requester submits a request in Smart ID Self-Service, an approver approves it in Identity Manager, and Certificate Manager sends a PKCS #11 signing operation over TLS to CryptoHub, which uses the CA private key in the HSM and returns only the signature.

The integration has two phases.

**One-time CA key setup.** You run `hwsetup`, the key setup tool that ships with Certificate Manager, against the FXPKCS11 module. `hwsetup` logs in to the CryptoHub slot with the PKCS #11 PIN and generates the CA key pair on the appliance. Certificate Manager then uses that existing key when you create the CA.

**Certificate issuance.** A requester submits a certificate request in Smart ID Self-Service, for example a TLS server certificate with an uploaded certificate signing request (CSR). An approver reviews and approves the request in Identity Manager. Certificate Manager builds the certificate and asks the FXPKCS11 module to sign it. The module opens a mutual TLS session to the CryptoHub Host API on TCP port 2001, CryptoHub signs with the CA private key, and only the signature returns to Certificate Manager.

## Why PKCS #11

Certificate Manager uses PKCS #11 for every hardware security module it supports, and `hwsetup` is a PKCS #11 tool. FXPKCS11 is the Futurex PKCS #11 module for CryptoHub `7.0.3.x`, so it is the direct fit: no other client library or translation layer sits between Certificate Manager and the appliance. KMIP and CNG are not options here, because Certificate Manager does not use them for CA keys.

## Out of scope

This guide covers creating one CryptoHub-resident CA key and issuing a certificate from it. The following topics are not covered:

* Installing Certificate Manager, Identity Manager, or Smart ID Self-Service.
* Certificate Manager system keys, key archiving and recovery, and other non-CA uses of the HSM.
* High-availability or multi-node Certificate Manager deployments.
* CA key rotation and CA renewal.
* Linux deployments of Certificate Manager. This guide documents the Windows path.

For those topics, refer to the [Nexus Certificate Manager documentation](https://doc.nexusgroup.com/nexus-certificate-manager).
