Temporarily disable cert verification for STARTTLS too.
This commit is contained in:
parent
274b6b9327
commit
0bdf967259
|
@ -434,7 +434,7 @@ sub sendmail {
|
|||
socket_write("STARTTLS$CRLF") || return fail("send STARTTLS error");
|
||||
socket_read()
|
||||
|| return fail('STARTTLS error');
|
||||
IO::Socket::SSL->start_SSL($S, SSL_hostname => $server)
|
||||
IO::Socket::SSL->start_SSL($S, SSL_hostname => $server, SSL_verify_mode => IO::Socket::SSL::SSL_VERIFY_NONE())
|
||||
|| return fail("start_SSL failed");
|
||||
|
||||
# The client SHOULD send an EHLO command as the
|
||||
|
|
Loading…
Reference in New Issue