1. Home
  2. /
  3. Use EJBCA PKI with HashiCorp Vault

Use EJBCA PKI with HashiCorp Vault

Deploy a three-node Vault cluster and configure the ejbca-vault-pki-engine plugin to issue certificates from EJBCA through Vault.

hero-sub-2
Logotype HashiCorp Vault

Secure management of secrets and protection of sensitive data with HashiCorp Vault

HashiCorp Vault is a tool for managing sensitive information such as API keys, passwords, and certificates. It offers a unified interface for accessing any secret and includes access control and audit log functionality. 

Engineers who are looking for a unified solution can benefit from the integration of EJBCA and HashiCorp Vault. The solution simplifies certificate issuance by providing a single CA/PKI platform for multiple needs and ensuring consistent security policies to comply with regulatory standards.

How to get started

In this tutorial, you will learn how to deploy the EJBCA Vault plugin in a highly available (HA) HashiCorp Vault deployment. You will learn how to create a role in EJBCA for the EJBCA Vault plugin and understand how easy it is to issue certificates from EJBCA.

Here are the steps:

  1. Create keys, and CSR’s to request certs from EJBCA for the HashiCorp Vault EJBCA plugin​
  2. Configure EJBCA for the HashiCorp Vault EJBCA plugin​
  3. Issue TLS & RA certificates for HashiCorp Vault EJBCA plugin deployment​
  4. Deploy HashiCorp Vault with the EJBCA plugin​
  5. Configure the EJBCA Plugin to issue certificates from EJBCA

Prerequisites:

Before you begin, you need Kubernetes running in the background. To download and install, refer to the YouTube Tutorials to Install MicroK8s and deploy the EJBCA container.

You also need a running EJBCA instance with an active Certificate Authority (CA) in EJBCA, certificate and end-entity profiles, and roles configured. To learn how to configure a certificate profile template and CA-defined default values, see the tutorial Create a PKI Hierarchy in EJBCA.

Additionally, you should have a basic understanding of how to use the Kubernetes command line tool kubectl.

Documentation

Tutorials/documentation

Documentation

Check out the supplementary documentation that goes hand-in-hand with our tutorial video.

Docker Hub

Get your hands on the EJBCA Docker container by downloading it now.

YouTube

Take a peek at our tutorial video on YouTube, and browse through some of our other videos as well.

EJBCA PKI Vault plugin 

You find the EJBCA PKI Secrets Engine for HashiCorp Vault on GitHub together with some additional documentation

Discuss

You can ask your questions and learn from PKI specialists in the EJBCA forum on GitHub Discussions.

This website uses cookies

Cookies consist of small text files. They contain data that is stored on your device. To enable us to place certain types of cookies we need to obtain your consent. At PrimeKey Solutions AB, corp. ID no. 556628-3064, we use the following kinds of cookies. To read more about which cookies we use and storage times, click here to access our cookies policy.

Manage your cookie-settings

Necessary cookies

Check to consent to the use of Necessary cookies
Necessary cookies are cookies that must be placed for basic functions to work on the website. Basic functions are, for example, cookies which are needed so that you can use menus on the website and navigate on the site.

Functional cookies

Check to consent to the use of Functional cookies
Functional cookies need to be placed on the website in order for it to perform as you would expect. For example, so that it recognizes which language you prefer, whether or not you are logged in, to keep the website secure, remember login details or to be able to sort products on the website according to your preferences.

Cookies for statistics

Check to consent to the use of Cookies for statistics
For us to measure your interactions with the website, we place cookies in order to keep statistics. These cookies anonymize personal data.

Cookies for ad-tracking

Check to consent to the use of Cookies for ad-tracking
To enable us to offer better service and experience, we place cookies so that we can provide relevant advertising. Another aim of this processing is to enable us to promote products or services, provide customized offers or provide recommendations based on what you have purchased in the past.

Ad measurement user cookies

Check to consent to the use of Ad measurement user cookies
In order to show relevant ads we place cookies to tailor ads for you

Personalized ads cookies

Check to consent to the use of Personalized ads cookies
To show relevant and personal ads we place cookies to provide unique offers that are tailored to your user data