aboutsummaryrefslogtreecommitdiff
path: root/gg.1
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-02-09 15:01:12 +0000
committerOmar Polo <op@omarpolo.com>2021-02-09 15:01:12 +0000
commit31b3662c5484a7906c60f6eaedaec5fdd4adf444 (patch)
treefafb405ab64ccb39b18b774cecf81de23b82dc7f /gg.1
parent57ec3e776e0333167134b5b186f9c72870eb228d (diff)
gg: add support for client certs
Diffstat (limited to 'gg.1')
-rw-r--r--gg.15
1 files changed, 5 insertions, 0 deletions
diff --git a/gg.1 b/gg.1
index 38ecf0a..ad47822 100644
--- a/gg.1
+++ b/gg.1
@@ -21,6 +21,7 @@
.Nm
.Bk -words
.Op Fl 23bchNVv
+.Op Fl C Pa cert.pem Fl K Pa key.pem
.Op Fl H Ar hostname
.Ar IRI
.Ek
@@ -37,6 +38,8 @@ Use only TLSv1.2.
Use only TLSv1.3.
.It Fl b
Print only the body of the response.
+.It Fl C Pa cert.pem
+Load the client certificate, must be in PEM format.
.It Fl c
Print only the response code.
.It Fl H Ar hostname
@@ -46,6 +49,8 @@ for SNI, instead of the one extracted from the IRI.
The IRI hostname will still be used for the DNS resolution.
.It Fl h
Print only the response header.
+.It Fl K Pa key.pem
+Load the client certificate key, must be in PEM format.
.It Fl N
Don't check whether the peer certificate name matches the requested
hostname.