SSL_VERIFY_NONE error on CentOS 7
techsneeze opened this issue · 0 comments
techsneeze commented
When running the script on CentOS 7, you'll see the following error:
*******************************************************************
Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client
is deprecated! 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.
*******************************************************************
at /usr/share/perl5/vendor_perl/Mail/IMAPClient.pm line 454.