Install GoLang
go get -u github.com/cloudflare/cfssl/cmd/...
Modify cert/config files.
cd cert mkdir ca server clients
- Generate certificate authority
./genca.sh
- Generate server certificate
./genserver.sh
- Generate client certificate
./genclient.sh
- Server uses server certificate to support https calls
- Server expects clients to call with client cert
- Client uses self signed certificate authority to validate server
host file localhost.test 127.0.0.1
yarn test