Skip to content

HarimbolaSantatra/quick-pki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EJBCA DOCKER CONTAINER TEMPLATE

Run a production-ready EJBCA docker container using Terraform and a Nginx reverse proxy. Optionally, setup the nginx reverse proxy with ansible.

Other deployement scenario are covered elsewhere:

Full instruction for the docker container can be found on Docker Hub.

Prerequisites

For this example you will need:

  • Nginx reverse proxy as a front-end. Use main.yaml ansible playbook to install and setup Nginx if it's not installed yet.
  • Terraform
  • Ansible (Optional)

Setup

Clone

git clone https://github.com/HarimbolaSantatra/ejbca-terraform.git
cd ejbca-terraform

Setup your own terraform and ansible variable

cp example.tfvars.sample production.tfvars
cp inventory.ini.sample inventory.ini

Deploy 🚀

ansible-playbook -i inventory.ini main.yaml -K
terraform init .
terraform apply -var-file production.tfvars

Features

  • Support nginx container and bare metal installation

Resources

About

Deploy a PKI quickly using EJBCA, Terraform and Docker

Topics

Resources

License

Stars

Watchers

Forks

Languages