Update cheatsheets

This commit is contained in:
ivuorinen
2024-10-28 00:18:29 +00:00
parent 702f0e6878
commit 72b426647f
4 changed files with 125 additions and 0 deletions

26
tldr/cfssl Normal file
View File

@@ -0,0 +1,26 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# cfssl
> Cloudflare's PKI and TLS toolkit.
> See also: `openssl`.
> More information: <https://github.com/cloudflare/cfssl>.
- Show certificate information of a host:
`cfssl certinfo -domain {{www.google.com}}`
- Decode certificate information from a file:
`cfssl certinfo -cert {{path/to/certificate.pem}}`
- Scan host(s) for SSL/TLS issues:
`cfssl scan {{host1 host2 ...}}`
- Display help for a subcommand:
`cfssl {{genkey|gencsr|certinfo|sign|gencrl|ocspdump|ocsprefresh|ocspsign|ocspserve|scan|bundle|crl|print-defaults|revoke|gencert|serve|version|selfsign|info}} -h`