diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-09-04 08:11:41 +0200 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-09-08 15:36:24 +0200 |
commit | d96486dc809b5d134055785bfa6d707195d95534 (patch) | |
tree | 7a32f4dbdc1a5ffd06520de61715e269b8fc1be4 /doc | |
parent | apps/cmp.c: Use enhanced OSSL_HTTP_parse_url(), removing parse_addr() and ato... (diff) | |
download | openssl-d96486dc809b5d134055785bfa6d707195d95534.tar.xz openssl-d96486dc809b5d134055785bfa6d707195d95534.zip |
apps/cmp.c: Allow default HTTP path (aka CMP alias) given with -server option
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12786)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man1/openssl-cmp.pod.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/man1/openssl-cmp.pod.in b/doc/man1/openssl-cmp.pod.in index 3dc193cd4d..46c5059d84 100644 --- a/doc/man1/openssl-cmp.pod.in +++ b/doc/man1/openssl-cmp.pod.in @@ -12,7 +12,7 @@ B<openssl> B<cmp> [B<-config> I<filename>] [B<-section> I<names>] -[B<-server> I<address[:port]>] +[B<-server> I<[http[s]://]address[:port][/path]>] [B<-proxy> I<[http[s]://]address[:port][/path]>] [B<-no_proxy> I<addresses>] [B<-path> I<remote_path>] @@ -431,11 +431,12 @@ Reason numbers defined in RFC 5280 are: =over 4 -=item B<-server> I<[http[s]://]address[:port]> +=item B<-server> I<[http[s]://]address[:port][/path]> The IP address or DNS hostname and optionally port (defaulting to 80 or 443) of the CMP server to connect to using HTTP(S) transport. The optional I<http://> or I<https://> prefix is ignored. +If a path is included it provides the default value for the B<-path> option. =item B<-proxy> I<[http[s]://]address[:port][/path]> @@ -454,7 +455,7 @@ Default is from the environment variable C<no_proxy> if set, else C<NO_PROXY>. =item B<-path> I<remote_path> HTTP path at the CMP server (aka CMP alias) to use for POST requests. -Defaults to I</>. +Defaults to any path given with B<-server>, else C<"/">. =item B<-msg_timeout> I<seconds> |