[jdev] IMPORTANT www.jabber.org software listings

Philipp Hancke fippo at goodadvice.pages.de
Mon Feb 25 14:02:17 CST 2008


Peter Saint-Andre wrote:
> Because we want to do this:
>    openssl s_client -connect example.com:5223 -CAfile ca.crt
> AFAIK there is no good way to do something similar for STARTTLS
> connections. If you know of a way, please do let us know.

adding a xmpp-starttls to s_client is not that difficult...

A patch (diff against good old openssl 0.9.8d) is attached.
Beware, detection of the starttls stream feature is not perfectly
reliable. Usage:
`openssl s_client -connect example.com:5222 -starttls xmpp -starttls_to
   example.com`
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: s_client.patch
URL: <https://www.jabber.org/jdev/attachments/20080225/cdf1b12f/attachment-0002.txt>


More information about the JDev mailing list