diff options
Diffstat (limited to '.functions')
-rw-r--r-- | .functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -176,7 +176,7 @@ function getcertnames() { echo ""; # newline local tmp=$(echo -e "GET / HTTP/1.0\nEOT" \ - | openssl s_client -connect "${domain}:443" 2>&1); + | openssl s_client -connect "${domain}:443" -servername "${domain}" 2>&1); if [[ "${tmp}" = *"-----BEGIN CERTIFICATE-----"* ]]; then local certText=$(echo "${tmp}" \ |