diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-01-06 07:43:08 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-01-06 07:43:08 +0100 |
commit | d4a830e2e1d333c9bdbf5c17475f89efdf43be89 (patch) | |
tree | d7f206a3cc87203d2a29251c2d38df7b37432215 /sys/man | |
parent | e548a86575fb1cde326f995c86d5ce04da7cd48c (diff) |
tlsclient: allow dumping the server's certificate with new -d flag
usefull for debugging, like:
./8.tlsclient -d /fd/3 tcp!code.9front.org!https |[0=3] auth/asn1dump
Diffstat (limited to 'sys/man')
-rw-r--r-- | sys/man/8/tlssrv | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/man/8/tlssrv b/sys/man/8/tlssrv index 9ebaa0104..983251ad2 100644 --- a/sys/man/8/tlssrv +++ b/sys/man/8/tlssrv @@ -45,7 +45,11 @@ logfile ] [ .B -c -.I cert.pem +.I clientcert.pem +] +[ +.B -d +.I servercert ] [ .B -t @@ -128,6 +132,13 @@ Specifying a certificate in pem(8) format with the flag, causes the client to submit this certificate upon server's request. A corresponding key has to be present in .IR factotum (4). +The +.B -d +flag writes the server's certificate to the file +.I servercert +in binary ASN.1 encoding. +If the server doesnt provide a certificate, an empty +file is created. If the .B -t flag |