Alpine based Easy-RSA v3 library
2.2K
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.
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'
easy-rsa init-pki # Initialize pki directoryeasy-rsa build-ca nopass # Build ca without passwordeasy-rsa gen-req servername nopass # Generate request without passwordeasy-rsa sign-req server servername # Sign server certificateeasy-rsa sign-req client clientname # Sign client certificateeasy-rsa gen-dh # Generate DH parametersContent type
Image
Digest
Size
4.2 MB
Last updated
about 9 years ago
docker pull technovilla/easy-rsa