Configure CryptoHub
After you deploy the Bitwarden service in , set up a client endpoint. An endpoint is a device authorized to access the service. Use the Endpoints menu to view and manage these devices. You can also add new endpoints by selecting [ Add New ]. When prompted, enter the device address and specify the endpoint. The following sections provide detailed instructions for deploying a client endpoint and installing the client library files:
Go to the Endpoints menu inside the service you deployed.
In the Manage Endpoints menu, select [ Add New ].
In the Add Endpoint dialog:
- Enter a Name for the endpoint (optional).
- Leave the Hostname set to the auto-populated value.
- In the Platform dropdown, you must select Linux OpenSSL 3.x 64-bit to match the OpenSSL version installed in the Bitwarden Key Connector container.
Select [ Add Endpoint ]. The browser prompts you to download a zip file containing the PKCS #11 module and a configuration file pre-configured to connect to your instance. To install the files on the machine where you installed Bitwarden, perform the Configure Bitwarden instructions in the next section.
Perform the following tasks to generate an RSA key pair:
You must generate the Bitwarden key pair under a root CA certificate to give it the encrypt and decrypt security usage it requires.
Go to Administrative Services > PKI Management > Certificate Management.
Select [ Add CA ].
In the X.509 Certificate Container creation dialog, configure the following settings:
- Name: Bitwarden
- Host: None
- Type: X.509
- Owner group: Select the Bitwarden role created for the service.
Right-click the Bitwarden X.509 Certificate Container and select Add Certificate > New Certificate.
Configure the following Subject DN settings:
- Preset: Classic
- Common Name: Root
Configure the following Basic Info settings:
- Leave set the default values.
Configure the following V3 Extensions settings:
- Profile: Certificate Authority
Select [ OK ].
Right-click the Root CA certificate and select Add Certificate > New Certificate.
Configure the following Subject DN settings:
- Preset: Classic
- Common Name: Bitwarden
Configure the following Basic Info settings:
- Security Usage: Encrypt/Decrypt
- Leave all other fields set to the default values.
Configure the following V3 Extensions settings:
- Profile: TLS Client Certificate
Select [ OK ].
Right-click the Bitwarden certificate and select Export > Certificate(s).
Change Encoding to PEM and select [ Browse ].
Specify a filename for web transfer (such as Bitwarden-Cert.pem) and select [ OK ].
Select [ OK ] to initiate the export.
Save the certificate file when your browser prompts it.
Go to Administrative Services > Key Management > Key Database.
Select [ Reload ].
Right-click the Bitwarden key pair in the Keys section and select Edit.
Under Key Settings, enter Bitwarden in the Name field and select [ OK ] to save.
Go to Administrative Services > Key Management > Key Database.
Right-click the Bitwarden key pair and select Permission.
Select the Bitwarden role in the drop-down menu and select [ Add ].
Select the Permission drop-down option next to the Bitwarden role and select Use.
Select [ Save ].