- Get certstrap to make your certs:
go get -u github.com/square/certstrap
- Make your CA:
certstrap init --common-name "threatseer CA"
- Make make a request for the
server
:certstrap request-cert --domain threatseer
- Mint and sign the key and cert for
server
: The last argument,threatseer
, is your common name (CN). Expected CN can be overridden on both the agent and server.bin/certstrap sign --CA "threatseer CA" threatseer
- Make make a request for the
agent
: The last argument,agent
, is your common name (CN). Expected CN can be overridden on both the agent and server.certstrap request-cert --domain agent
- Mint and sign the key and cert for
agent
:bin/certstrap sign --CA "threatseer CA" agent
The files will be placed in a directory called out
.