<< " -p | --port port Port number on server to contact. Default is " << CACHE_HTTP_PORT << "." << std::endl
<< " -T timeout Timeout in seconds for read/write operations" << std::endl
#if USE_GNUTLS
- << " --tls [TLS options] Use TLS on the connection" << std::endl
+ << " --https Use TLS/SSL on the HTTP connection" << std::endl
<< std::endl
<< " TLS options:" << std::endl
- << " --anonymous Use Anonymous TLS. Sets default parameters:" << std::endl
+ << " --anonymous-tls Use Anonymous TLS. Sets default parameters:" << std::endl
<< " \"PERFORMANCE:+ANON-ECDH:+ANON-DH\"" << std::endl
<< " --params=\"...\" Use the given parameters." << std::endl
<< " --cert=FILE Path to a PEM file holding the client X.509 certificate chain." << std::endl
<< " --trusted-ca=PATH Path to a PEM file holding trusted CA certificate(s)." << std::endl
<< " May be repeated." << std::endl
<< " Example path: \"/etc/ssl/certs/ca-certificates.crt\"" << std::endl
- << std::endl;
#endif
+ << std::endl;
}
bool
// options for controlling squidclient transport connection
static struct option longOptions[] = {
- {"anonymous", no_argument, 0, '\1'},
- {"tls", no_argument, 0, '\3'},
+ {"anonymous-tls",no_argument, 0, '\1'},
+ {"https", no_argument, 0, '\3'},
{"trusted-ca", required_argument, 0, 'A'},
{"cert", required_argument, 0, 'C'},
{"host", required_argument, 0, 'h'},
.if !'po4a'hide' .B squidclient
.if !'po4a'hide' .B "[ \-aknNrsv ] "
.if !'po4a'hide' .B "[ \-\-ping [ping\-options] ] "
-.if !'po4a'hide' .B "[ \-\-tls [tls\-options] ] [ \-A"
+.if !'po4a'hide' .B "[ \-\-https] [tls\-options] [ \-A"
string
.if !'po4a'hide' .B "] [ \-h | \-\-host"
remote host
interval
.if !'po4a'hide' .B "] "
.
-.if !'po4a'hide' .B "TLS options: [ \-\-anonymous ] [ \-\-trusted\-ca"
+.if !'po4a'hide' .B "TLS options: [ \-\-anonymous\-tls ] [ \-\-trusted\-ca"
CA certificates file
.if !'po4a'hide' .B "...] [ \-\-cert"
client X.509 certificate file
.if !'po4a'hide' .B "\-W password"
WWW authentication password
.
-.if !'po4a'hide' .TP 10
-.if !'po4a'hide' .B "\-\-ping [options]"
-Enable ping mode. Optional \-g and \-I parameters must follow immediately if used.
-Repeated use resets to default ping settings.
-.
-.if !'po4a'hide' .TP 12
-.if !'po4a'hide' .B "\-g count"
-Ping mode, perform
-.I count
-iterations (default is to loop until interrupted).
-.
.if !'po4a'hide' .TP
-.if !'po4a'hide' .B "\-I interval"
-Ping interval in seconds (default 1 second).
+.if !'po4a'hide' .B "\-\-https"
+Use Transport Layer Security on the HTTP connection.
.
-.if !'po4a'hide' .TP 10
-.if !'po4a'hide' .B "\-\-tls [options]"
-Use Transport Layer Security on the connection.
-.
-.if !'po4a'hide' .TP 12
-.if !'po4a'hide' .B "\-\-anonymous"
+.if !'po4a'hide' .TP
+.if !'po4a'hide' .B "\-\-anonymous\-tls"
Use TLS with unauthenticated (anonymous) certificate.
.
.if !'po4a'hide' .TP
File containing client X.509 certificate in PEM format.
May be repeated to load several client certificates.
.
-.if !'po4a'hide' .TP 12
+.if !'po4a'hide' .TP
.if !'po4a'hide' .B "\-\-trusted-ca file"
File containing trusted Certificate Authority (CA) certificates in PEM format.
May be repeated to load any number of files.
.
-.if !'po4a'hide' .TP 12
+.if !'po4a'hide' .TP
.if !'po4a'hide' .B "\-\-params values"
TLS library specific parameters for the communication session.
See the library documentation for details on valid parameters.
.if !'po4a'hide' .I "GnuTLS: http://gnutls.org/manual/html_node/Priority\-Strings.html"
If repeated only the last value will have effect.
.
+.if !'po4a'hide' .TP 10
+.if !'po4a'hide' .B "\-\-ping [options]"
+Enable ping mode. Optional \-g and \-I parameters must follow immediately if used.
+Repeated use resets to default ping settings.
+.
+.if !'po4a'hide' .TP 12
+.if !'po4a'hide' .B "\-g count"
+Ping mode, perform
+.I count
+iterations (default is to loop until interrupted).
+.
+.if !'po4a'hide' .TP
+.if !'po4a'hide' .B "\-I interval"
+Ping interval in seconds (default 1 second).
+.
.SH AUTHOR
Derived from Harvest. Further developed by by numerous individuals from
the internet community. Development is led by Duane Wessels of the
{"local", required_argument, 0, 'l'},
{"port", required_argument, 0, 'p'},
{"ping", no_argument, 0, '\1'},
- {"tls", no_argument, 0, '\3'},
+ {"https", no_argument, 0, '\3'},
{0, 0, 0, 0}
};