Public Repository

Last pushed: 2 years ago
Short Description
EasyRSA is a CLI tool to build and manage a PKI CA
Full Description

This is a minimal (<6MB), Alpine based image for running a PKI CA using EasyRSA. Dockerfile

  1. create a storage container: docker run --name easyrsa_data jswank/easyrsa
  2. run commands: docker run --rm -i --volumes-from easyrsa_data jswank/easyrsa <command>
$ docker run --rm -i --volumes-from easyrsa_data jswank/easyrsa help
Easy-RSA 3 usage and overview

USAGE: easyrsa [options] COMMAND [command-options]

A list of commands is shown below. To get detailed usage and help for a
command, run:
  ./easyrsa help COMMAND

For a listing of options that can be supplied before the command, use:
  ./easyrsa help options

Here is the list of commands available with a short syntax reminder. Use the
'help' command above to get full usage details.

  build-ca [ cmd-opts ]
  gen-req <filename_base> [ cmd-opts ]
  sign-req <type> <filename_base>
  build-client-full <filename_base> [ cmd-opts ]
  build-server-full <filename_base> [ cmd-opts ]
  revoke <filename_base>
  show-req <filename_base> [ cmd-opts ]
  show-cert <filename_base> [ cmd-opts ]
  import-req <request_file_path> <short_basename>
  export-p7 <filename_base> [ cmd-opts ]
  export-p12 <filename_base> [ cmd-opts ]
  set-rsa-pass <filename_base> [ cmd-opts ]
  set-ec-pass <filename_base> [ cmd-opts ]

DIRECTORY STATUS (commands would take effect on these locations)
  EASYRSA: /usr/share/easy-rsa
  PKI:  /easyrsa/pki
Docker Pull Command