Skip to content
/ docket Public

A certificate generation tool written in Go

License

Notifications You must be signed in to change notification settings

abcum/docket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docket

A certificate generation tool written in Go (Golang).

Features

  • Simple cli interface
  • Defaults are optimised for security
  • Create CAs for distributed services
  • Create client authentication certificates
  • Create server authentication certificates
  • Create cluster authentication certificates
  • Create rsa encryption private + public key pairs
  • Can be used to create self-signed development certificates
  • Secure distributed services using dns names or ip addresses
  • Makes use of golang crypto packages internally to create certificates

Installation

go get github.com/abcum/docket

Example usage

docket ca --out-org Abcum --out-crt ca.crt --out-key ca.key
docket client --ca-crt ca.crt --ca-key ca.key --out-org Abcum --out-crt client.crt --out-key client.key
docket server --ca-crt ca.crt --ca-key ca.key --out-org Abcum --out-crt server.crt --out-key server.key example.com
docket server --ca-crt ca.crt --ca-key ca.key --out-org Abcum --out-crt server.crt --out-key server.key 10.0.1.1 10.0.1.2 10.0.1.3