summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2017-01-10 16:53:35 -0500
committerRich Salz <rsalz@openssl.org>2017-01-10 20:11:08 -0500
commit1f234f71357a6bac7b8b2a54649c07bfe55e9c39 (patch)
tree6aa33e6a6d8b6dba394456df4e01e26875519cff
parent0ecb682a674c69caee4b8da1c08d23305f484cd8 (diff)
downloadopenssl-new-1f234f71357a6bac7b8b2a54649c07bfe55e9c39.tar.gz
GH1986: Document -header flag.
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2209)
-rw-r--r--doc/apps/ocsp.pod9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/apps/ocsp.pod b/doc/apps/ocsp.pod
index 9833f0813e..1bb7958d20 100644
--- a/doc/apps/ocsp.pod
+++ b/doc/apps/ocsp.pod
@@ -26,6 +26,7 @@ B<openssl> B<ocsp>
[B<-no_nonce>]
[B<-url URL>]
[B<-host host:n>]
+[B<-header name value>]
[B<-path>]
[B<-CApath dir>]
[B<-CAfile file>]
@@ -135,6 +136,14 @@ if the B<host> option is present then the OCSP request is sent to the host
B<hostname> on port B<port>. B<path> specifies the HTTP path name to use
or "/" by default.
+=item B<-header name value>
+
+If sending a request to an OCSP server, then the specified header name and
+value are added to the HTTP request. Note that the B<name> and B<value> must
+be specified as two separate parameters, not as a single quoted string, and
+that the header name does not have the trailing colon.
+Some OCSP responders require a Host header; use this flag to provide it.
+
=item B<-timeout seconds>
connection timeout to the OCSP responder in seconds