sendemail icon indicating copy to clipboard operation
sendemail copied to clipboard

changing SSL version to Perl SSL.pm default values

Open watter opened this issue 4 years ago • 1 comments

As SSL evolves using TLSv1 were forbidden on many servers because of security issues.

Some people exchanged workarounds at https://unix.stackexchange.com/questions/53065/invalid-ssl-version-specified-at-usr-share-perl5-io-socket-ssl-pm-line-332

This change uses SSL options used by Perl 5 at /usr/share/perl5/IO/Socket/SSL.pm:133 (below) and worked fine.


SSL_version => 'SSLv23:!SSLv3:!SSLv2', # consider both SSL3.0 and SSL2.0 as broken

watter avatar Jul 09 '20 12:07 watter

so it solves the hostName verification issue right?

ranbir7 avatar Jul 28 '23 19:07 ranbir7