Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL error sending to O365 #7

Open
LatinSuD opened this issue May 15, 2023 · 1 comment
Open

SSL error sending to O365 #7

LatinSuD opened this issue May 15, 2023 · 1 comment

Comments

@LatinSuD
Copy link

Hi, i got a few errors.

*******************************************************************
 Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client
 is deprecated! Please set SSL_verify_mode to SSL_VERIFY_PEER
 possibly 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/local/bin/sendemail line 1906.
invalid SSL_version specified at /usr/share/perl5/vendor_perl/IO/Socket/SSL.pm line 444.

My workaround so far:

  1. Explicitely set SSL_verify_mode => SSL_VERIFY_NONE
  2. Remove "use stritct" mode.
  3. Remove SSL_version restrictions.
@LatinSuD
Copy link
Author

LatinSuD commented May 16, 2023

Update, it was more like this around line 1911:

        use IO::Socket::SSL;;
        if (! IO::Socket::SSL->start_SSL($SERVER, SSL_verify_mode => int(IO::Socket::SSL::SSL_VERIFY_NONE))) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant