Sign inSign up

technovilla/easy-rsa

By technovilla

Updated about 9 years ago

Alpine based Easy-RSA v3 library

Image
4

2.2K

technovilla/easy-rsa repository overview

EasyRSA v3

The best way to create a PKI for OpenVPN is to separate your CA duty from each server & client. The CA should ideally be on a secure environment (whatever that means to you.) Loss/theft of the CA key destroys the security of the entire PKI. EasyRSA is small utility program to generate CA using openssl.

Usage:

docker run --rm -it -v ~/pki:/pki easy-rsa

Create an alias using following command: alias easy-rsa='docker run --rm -it -v ~/pki:/pki easy-rsa'

Use alias like below:

  • easy-rsa init-pki # Initialize pki directory
  • easy-rsa build-ca nopass # Build ca without password
  • easy-rsa gen-req servername nopass # Generate request without password
  • easy-rsa sign-req server servername # Sign server certificate
  • easy-rsa sign-req client clientname # Sign client certificate
  • easy-rsa gen-dh # Generate DH parameters

Tag summary

Content type

Image

Digest

Size

4.2 MB

Last updated

about 9 years ago

docker pull technovilla/easy-rsa