diff --git a/includes/general.php b/includes/general.php index db30314..cedf444 100644 --- a/includes/general.php +++ b/includes/general.php @@ -612,7 +612,7 @@ continue; } - fputs($fp, "EHLO www.cacert.org\r\n"); + fputs($fp, "EHLO ping.cacert.org\r\n"); do { $line = fgets($fp, 4096); $has_starttls |= substr(trim($line),4) == "STARTTLS"; @@ -634,7 +634,7 @@ stream_socket_enable_crypto($fp, true, STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT|STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT|STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT); - fputs($fp, "EHLO www.cacert.org\r\n"); + fputs($fp, "EHLO ping.cacert.org\r\n"); do { $line = fgets($fp, 4096); } while(substr($line, 0, 4) == "250-");