Thanks for that, looks like what I was doing, the issues must be with the
correct versions of DLLs
From: Ross Levis
Sent: Thursday, October 13, 2016 12:57 AM
To: 'NZ Borland Developers Group - Delphi List'
Subject: Re: [DUG] Testing internet web site connections
Regarding code, here is some.
Hi JB
Stay away from OpenSSL :)
The problem using it for SSL is that you have to keep the DLLs up to
date as new security vulnerabilities are uncovered. With native API
calls updates to the OS should patch any security issues.
The native HTTP Client controls work well. As they map to the
I have been considering writing something to monitor connectivity to a few web
sites- note not detecting whether there is an internet connection, but whether
a number of sites are responding. Some http and some https.
(Have got tired of opening a CMD prompt and pinging sites)
I have
JB, make sure you are using the latest Open SSL DLLs as the earlier ones
had security vulnerabilities.
Jeremy
On Wed, Oct 12, 2016 at 9:30 PM, John Bird
wrote:
> I have been considering writing something to monitor connectivity to a few
> web sites- note not
With a 32-bit compiler you need the 32-bit editions of OpenSSL DLLs installed.
They usually go to Windows\System32. I instruct my users to download the Light
edition on this website.
http://slproweb.com/products/Win32OpenSSL.html
Ross.
From: delphi-boun...@listserver.123.net.nz
Regarding code, here is some.
var
Ret: string;
aHTTP: TIdHTTP;
SSLHandler: TIdSSLIOHandlerSocketOpenSSL;
begin
aHTTP := TIdHTTP.Create;
if SameText('https:',copy(URL,1,6)) then
begin
SSLHandler := TIdSSLIOHandlerSocketOpenSSL.Create(aHTTP);
I'm not normally a fan of Microsoft, but it has to be said that if your web
sites are hosted in Azure then you get more alerts and monitoring
capabilities than you can shake a stick at. They won't just tell you
whether your site is up, down or sideways but can also notify you when it
is