s_client to contact servers in clear and switch to SSL

2014-06-03 Thread Matthias Apitz
Hello, We are producing a client-server-application which makes use of SSL. The (UNIX hosted) servers answer on connect to its port with some kind of GoodMorning message, always in clear text, like for example 200 SLNP CATserver@version:4.3@user:sisis@ssl:true i.e. the server says with

Re: s_client to contact servers in clear and switch to SSL

2014-06-03 Thread Viktor Dukhovni
On Tue, Jun 03, 2014 at 01:11:33PM +0200, Matthias Apitz wrote: 200 SLNP CATserver@version:4.3@user:sisis@ssl:true s_client supports the imap, smtp and possibly xmpp variants of -starttls. If none of these protocols are sufficiently close to your servers, you'll have to modify s_client source