[Techtalk] testing https

James jas at spamcop.net
Sat Aug 21 18:37:16 EST 2004


On Sat, 21 Aug 2004 13:19:01 -0400, you wrote:

>Hello everyone,
>
>I'm new here although I was once a member (on and off) over a span of a
>couple years many moons ago.   last time I ever sent or read anything on
>linuxchix must have been about 2 years, at the very least.  (I've been
>pretty busy getting married and having a baby ;) )
>
>So thanks for having me and I'm looking forward to spending more time on
>the lists...
>
>I'm gonna hit the ground running today with a question for ya'll .. I
>would really appreciate if anybody knows this and can tell me... doesn't
>seem like such a hard question except the solution has been eluding me
>all day long.
>
>I need to find out how I can test HTTPS over a telnet session if that's
>even possible.  I've scoured the internet, apache.org and deja but it
>seems i must be using bad search strings or something..
>
>I have a server running SAP on port 1972 and need to talk to it using
>HTTPS for testing/monitoring purposes..
>
>of course, speaking HTTP language isn't working.

You can't use an ordinary "telnet" tool - as you've discovered, it
doesn't speak SSL - but the OpenSSL library does have an equivalent
tool, s_client, designed for exactly what you're trying to do:
"telnetting" to an encrypted server for testing.

http://www.openssl.org/docs/apps/s_client.html

You presumably want something like this command:

s_client -connect localhost:443


James.


More information about the Techtalk mailing list