aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/x509-info/README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/x509-info/README.md b/src/x509-info/README.md
index a269ee5..0369ba2 100644
--- a/src/x509-info/README.md
+++ b/src/x509-info/README.md
@@ -4,7 +4,7 @@ At this point it's pretty clear that I'll never remember the syntax for `openssl
## Usage
-``` shell
+```shell
$ Usage: x509-info [OPTIONS] <DOMAIN>
Arguments:
@@ -36,14 +36,14 @@ Options:
The default format will print a short message:
-``` shell
+```shell
$ x509-info twitter.com
twitter.com: Mon, 11 Dec 2023 15:59:59 -0800 (257 days left)
```
It's possible to get more details:
-``` shell
+```shell
$ x509-info --format=long twitter.com
certificate
version: V3
@@ -62,7 +62,7 @@ certificate
You can also check expired certificates:
-``` shell
+```shell
$ x509-info --insecure expired.badssl.com
<no name>: Sun, 12 Apr 2015 16:59:59 -0700 (it expired -2907 days ago)
```