this is a configuration utility to work with a certificate authority
Based on alpine:3.6
container. Using EasyRSA 2.2.2
Docker Hub: marvambass/easyrsa
(https://hub.docker.com/r/marvambass/easyrsa/)
GitHub: marvambass/docker-easyrsa
(https://github.com/MarvAmBass/docker-easyrsa/)
VOLUME
/ca
docker build -t marvambass/easyrsa:latest .
docker run --rm -ti -v $PWD:/ca marvambass/easyrsa:latest
to create a new CA just run
./build-ca
and answer the questions - it uses already our defaults
./build-key-server server.domain.tld
./build-key mmustermann
./build-key-pass mmustermann-pass
./revoke-full mmustermann
do after ./build-ca
./build-key revokeimmediately
./revoke-full revokeimmediately
this creates a new client cert which is revoked immediately. now we can use it with openvpn