Secrets management
Bitwarden
Generate RSA key pair for Bitwarden Key Connector
6min
perform the following tasks to generate an rsa key pair on the {{k3}} you must generate the bitwarden key pair under a root ca certificate to give it the encrypt and decrypt security usage it requires create x 509 certificate container perform the following steps to create x 509 certificate container and root ca go to pki > certificate authorities 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 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 ] generate bitwarden key pair perform the following steps to generate bitwarden key pair 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 ] export bitwarden certificate perform the following steps to export bitwarden certificate 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 you assign a name to the key perform the following steps to assign a name to the private key go to key management > keys 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 grant use permission perform the following steps to grant use permission on the private key 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 ]