Skip to content

Instantly share code, notes, and snippets.

@guoyoujin
Last active March 26, 2024 16:52
  • Star 13 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save guoyoujin/376bda5323b1d718d8d582f2efa5a8e6 to your computer and use it in GitHub Desktop.
linux install cfssl
source:
https://pkg.cfssl.org/
install:
$ curl -s -L -o /bin/cfssl https://pkg.cfssl.org/R1.2/cfssl_linux-amd64
$ curl -s -L -o /bin/cfssljson https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64
$ curl -s -L -o /bin/cfssl-certinfo https://pkg.cfssl.org/R1.2/cfssl-certinfo_linux-amd64
$ chmod +x /bin/cfssl*
$ cfssl -h
Usage:
Available commands:
bundle
ocspsign
selfsign
certinfo
version
gencrl
scan
info
revoke
sign
ocspserve
print-defaults
serve
genkey
gencert
ocspdump
ocsprefresh
Top-level flags:
-allow_verification_with_non_compliant_keys
Allow a SignatureVerifier to use keys which are technically non-compliant with RFC6962.
-loglevel int
Log level (0 = DEBUG, 5 = FATAL) (default 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment