summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorCarlos Alberto Lopez Perez <clopez@igalia.com>2012-08-06 02:24:51 +0200
committerBen Laurie <ben@links.org>2013-09-05 17:24:56 +0100
commitb98af49d971e1dfe91c3aa52c31546e5d3eda2ee (patch)
tree6873a11bf4e051a723fc8ec1b06c3860ce9b67f1 /doc
parent50f307a98fcc982c6dbb1891577146c6c3949ad6 (diff)
Add an "-xmpphost" option to s_client
* Many XMPP servers are configured with multiple domains (virtual hosts) * In order to establish successfully the TLS connection you have to specify which virtual host you are trying to connect. * Test this, for example with :: * Fail: openssl s_client -connect talk.google.com:5222 -starttls xmpp * Works: openssl s_client -connect talk.google.com:5222 -starttls xmpp -xmpphost gmail.com
Diffstat (limited to 'doc')
-rw-r--r--doc/apps/s_client.pod8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/apps/s_client.pod b/doc/apps/s_client.pod
index 1c50836a8a..a37c4e2b7c 100644
--- a/doc/apps/s_client.pod
+++ b/doc/apps/s_client.pod
@@ -37,6 +37,7 @@ B<openssl> B<s_client>
[B<-bugs>]
[B<-cipher cipherlist>]
[B<-starttls protocol>]
+[B<-xmpphost hostname>]
[B<-engine id>]
[B<-tlsextdebug>]
[B<-no_ticket>]
@@ -225,6 +226,13 @@ send the protocol-specific message(s) to switch to TLS for communication.
B<protocol> is a keyword for the intended protocol. Currently, the only
supported keywords are "smtp", "pop3", "imap", "ftp" and "xmpp".
+=item B<-xmpphost hostname>
+
+This option, when used with "-starttls xmpp", specifies the host for the
+"to" attribute of the stream element.
+If this option is not specified, then the host specified with "-connect"
+will be used.
+
=item B<-tlsextdebug>
print out a hex dump of any TLS extensions received from the server.