Re: monitoring https using send / expect

Lon Hohberger <[email protected]> Wed, 22 Sep 2004 13:37:47 -0400
Newsgroups gmane.linux.redhat.piranha
Organization Red Hat, Inc.
Message-ID <[email protected]>
On Wed, 2004-09-22 at 18:14 +0200, Sébastien BONNET wrote:
> > Can anyone tell me how to monitor HTTPS through LVS
> > using send / expect. 
> 
> The short answer is : you can't ! As HTTPS is HTTP over SSL, it's not a 
> cleartext protocol.
> 
> > I am currently monitoring http using send / expect.
> > Send string is "GET / HTTP/1.0\r\n\r\n" and expect
> > string is "HTTP".
> 
> You'll have to write an external script which uses lynx, wget or 
> whatever has SSL support.

E.g.

links -source https://www.host.com

You might be able to use stunnel as well, but it's probably easier to
use something that's already got SSL built in rather than multiple
utilities...

-- Lon