Public | Automated Build

Last pushed: 3 years ago
Short Description
A small alpine based container for generating OpenVPN certs.
Full Description


A small alpine based container wrapping the easy-rsa package with the default vars that will produce the certificates needed for an OpenVPN deployment.

Mout the container with a volume mapped to the /target directory and the script will produce the certificates and tarball up the /keys directory.


docker run --rm -it -v $(pwd):/target:rw easyrsa


  • /target/keys.tar.gz - Compressed tarball of the keys directory.
  • /target/server-certs - Directory containing CA.crt, dh2048.pem, and the server key/cert.
  • /target/client-certs - Directory containing CA.crt, and any generated client keys/certs.
Docker Pull Command
Source Repository