You must have the following components installed:
- Docker
- docker-compose
- uuidgen
- cfssl
- Setup
Generate client UUID and keep a note:
uuidgen
Generate Certificates and keys:
pushd ./ssl
cfssl genkey -initca csr.json | cfssljson -bare ca
cfssl genkey csr.json | cfssljson -bare
cfssl sign -ca=ca.pem -ca-key=ca-key.pem cert.csr | cfssljson -bare
popd
- Start server
# edit config/server/config.json for your user UUID
docker-compose up -d server nginx
- Start client
# edit config/server/config.json for your server address and user UUID
docker-compose up -d client