mirror of
https://github.com/webmin/webmin.git
synced 2026-02-08 08:19:57 +00:00
Use SNI for SSL certificate monitoring
This commit is contained in:
@@ -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)." </dev/null 2>&1";
|
||||
local $out = &backquote_with_timeout($cmd, 10);
|
||||
if ($?) {
|
||||
|
||||
Reference in New Issue
Block a user