Skip to content

kuwas-io/etc.openssl.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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