threads / bug / 33243

[BUG] git send-email and SSL_verify_mode

Subject: [BUG] git send-email and SSL_verify_mode

## tl;dr

One message between Mar 21, 2013 and Mar 21, 2013.

replies: 0people: 1as markdown or json

Ramkumar Ramachandra· Mar 21, 2013, 09:48 UTC · lore
Hi,

With recent (I'm how recent exactly) versions of IO::Socket::SSL, git send-email:1169 spits out the following warning, which originates in Net::SMTP::SSL:

*******************************************************************
 Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client
 is depreciated! Please set SSL_verify_mode to SSL_VERIFY_PEER
 together with SSL_ca_file|SSL_ca_path for verification.
 If you really don't want to verify the certificate and keep the
 connection open to Man-In-The-Middle attacks please set
 SSL_verify_mode explicitly to SSL_VERIFY_NONE in your application.
*******************************************************************

Nevertheless, it does manage to send the email successfully. I'm not sure how to fix this bug, since my Perl-foo is weak. Please advise.

Thanks.
Ram

← back to recent threads