Skip to content

Latest commit

 

History

History
78 lines (68 loc) · 2.12 KB

README.md

File metadata and controls

78 lines (68 loc) · 2.12 KB

etc.openssl.sh

 Actions
 Coverages
 Issues
 Languages
 Version


etc » openssl » sh


Setup

brew install go ;
go get -u github.com/cloudflare/cfssl/cmd/... ;

Usage

cfssl gencert \
  -initca "./src/cauth.json" \
  | cfssljson \
  -bare \
  "./build/cauth" - \
  ;
openssl x509 \
  -text \
  -noout \
  -in "./build/cauth.pem" \
  ;
cfssl gencert \
  -ca "./build/cauth.pem" \
  -ca-key "./build/cauth-key.pem" \
  -config "./src/default.json" \
  -profile "( profile )" \
  "./src/( csr ).json" \
  | cfssljson \
  -bare \
  "./build/( csr )" \
  ;
openssl x509 \
  -text \
  -noout \
  -in "./build/( csr ).pem" \
  ;

Notes

  • n/a

Contributions

  • n/a

 License