pkg-perl-maintainers team mailing list archive
-
pkg-perl-maintainers team
-
Mailing list archive
-
Message #02175
[Bug 1072299] Re: invalid SSL_version specified at /usr/share/perl5/IO/Socket/SSL.pm line 332
Solved it for the time being by changing 'SSLv3 TLSv1'in sendemail line
1907 to 'SSLv3', but editing files installed by a package manager is bad
practice. Also I don't think this is a proper solution. Here is the code
sniplet:
1903 ## Start TLS if possible
1904 if ($conf{'tls_server'} == 1 and $conf{'tls_client'} == 1 and $opt{'tls'} =~ /^(yes|auto)$/) {
1905 printmsg("DEBUG => Starting TLS", 2);
1906 if (SMTPchat('STARTTLS')) { quit($conf{'error'}, 1); }
Original:
1907 if (! IO::Socket::SSL->start_SSL($SERVER, SSL_version => 'SSLv3 TLSv1')) {
Workaround:
1907 if (! IO::Socket::SSL->start_SSL($SERVER, SSL_version => 'SSLv3')) {
1908 quit("ERROR => TLS setup failed: " . IO::Socket::SSL::errstr(), 1);
1909 }
1910 printmsg("DEBUG => TLS: Using cipher: ". $SERVER->get_cipher(), 3);
1911 printmsg("DEBUG => TLS session initialized :)", 1);
1912
1913 ## Restart our SMTP session
1914 if (SMTPchat('EHLO ' . $opt{'fqdn'})) { quit($conf{'error'}, 1); }
1915 }
1916 elsif ($opt{'tls'} eq 'yes' and $conf{'tls_server'} == 0) {
1917 quit("ERROR => TLS not possible! Remote SMTP server, $conf{'server'}, does not support it.", 1);
1918 }
--
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to libio-socket-ssl-perl in Ubuntu.
https://bugs.launchpad.net/bugs/1072299
Title:
invalid SSL_version specified at /usr/share/perl5/IO/Socket/SSL.pm
line 332
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libio-socket-ssl-perl/+bug/1072299/+subscriptions
References