check http using specific SSL certificate
Dan Stromberg
strombrg at dcs.nac.uci.edu
Tue Jan 11 02:12:52 CET 2005
You probably use some variation of the following theme:
if (echo 'GET / HTTP/1.0^M'; echo '^M') | \
/usr/bin/maxtime 10 \
/usr/bin/openssl s_client -quiet -connect "$1:443" 2>&1 | \
grep HTTP > /dev/null 2>&1
then
echo Service available
exit 0
else
echo Service down
exit 2
fi
If you want my maxtime program, please drop me a note. I probably
should put it up for download anyway.
On Tue, 2005-01-11 at 03:08 +0200, Itamar Lavender wrote:
> Hi,
>
> I'm trying to monitor one of my HTTP servers which I must access
> trough SSL using my own certificate
>
> The server doesn't supply a certificate but check if you have it.
>
> Is it possible at all?
> I'm currently monitoring all my other servers & it works great....
> this is my favorite tool :-)
> If some one think he can help I'll be thankful...
> Any idea for new script that uses check_http will be blessed.
>
>
> Itamar.
>
>
>
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050110/cdca3bc9/attachment.sig>
More information about the Users
mailing list