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 ($?) {