From 1f234f71357a6bac7b8b2a54649c07bfe55e9c39 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Tue, 10 Jan 2017 16:53:35 -0500 Subject: [PATCH] GH1986: Document -header flag. Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/2209) --- doc/apps/ocsp.pod | 9 +++++++++ 1 file changed, 9 insertions(+) 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 B [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 option is present then the OCSP request is sent to the host B on port B. B 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 and B 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 -- 2.34.1