Skip to main content
Skip table of contents

HSM Integration

ENTERPRISE

The EJBCA and SignServer Container Sets support integration with various Hardware Security Modules (HSMs) using two primary architectural approaches: HSM integration with PKCS#11 using a separate sidecar container, or over the REST API.

PKCS#11 Integration

To integrate with HSMs that use the PKCS#11 interface, a separate sidecar container is required. This setup facilitates communication between the EJBCA/SignServer application container and the HSM exposing the PKCS#11 interface.

Keyfactor provides a client-server application named "p11proxy" for this purpose, enabling the PKCS#11 client application to transparently use the HSM vendor's PKCS#11 library over the network by passing PKCS#11 library calls over TCP/IP.

The P11 Proxy Client is pulled from an HSM sidecar container before application container startup, and then used by the application to connect over network with the P11 Proxy Server running in the sidecar container. The P11 Proxy Server, in turn, invokes the HSM vendor's PKCS#11 library, returning the result to the client.

HSM integration with PKCS#11 is supported for the following HSM types:

REST API Integration

For HSMs with a REST API, the EJBCA and SignServer application containers can directly connect to the HSM over the REST API, eliminating the need for a sidecar container.

EJBCAContainer_RESTAPIIntegration.png

HSM integration with REST API is supported for the following HSM types:

  • Microsoft Azure Key Vault and Managed HSM

  • Fortanix Data Security Manager

For more information on how to set up the HSM integration with PKCS#11 using a separate sidecar container, see the following sections:

JavaScript errors detected

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

If this problem persists, please contact our support.