From bbb6478a27c816a25d73cddac6759fceebcd2cfd Mon Sep 17 00:00:00 2001 From: Matthew Noorenberghe Date: Sat, 25 May 2013 23:41:13 -0700 Subject: [PATCH] Use SNI for SSL certificate monitoring --- status/sslcert-monitor.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/status/sslcert-monitor.pl b/status/sslcert-monitor.pl index 3136b41fd..38e951814 100755 --- a/status/sslcert-monitor.pl +++ b/status/sslcert-monitor.pl @@ -13,6 +13,7 @@ if ($_[0]->{'url'}) { # Run the openssl command to connect local $cmd = "openssl s_client -host ".quotemeta($host). + " -servername ".quotemeta($host). " -port ".quotemeta($port)." &1"; local $out = &backquote_with_timeout($cmd, 10); if ($?) {