You are here: Foswiki>Tasks Web>Item15331 (21 Jun 2024, JohnElbourne)Edit Attach

Item15331: TLS version problem when sending email

pencil
Priority: Urgent
Current State: Confirmed
Released In: 2.1.9
Target Release: patch
Applies To: Engine
Component:
Branches:
Reported By: JohnElbourne
Waiting For:
Last Change By: JohnElbourne
Recently my installation of Foswiki (version 2.1.7) has failed to send emails to a postfix server, due to the specification of an old version of TLS - TLSv1.

I don't know when this started, but suspect it was an upgrade to the postfix server, to stop accepting this old version of TLS.

According to this website: https://metacpan.org/pod/IO::Socket::SSL

the recommendation is not to specify SSL_version, under "Common Usage Errors".

To get my installation of Foswiki working again, I removed the following line from Foswiki-2.1.7/lib/Foswiki/Net.pm

SSL_version => ( ( $tls || $starttls ) ? 'TLSv1' : 'SSLv3' ),

i.e. removing the specification of SSL_version.

I see Net.pm hasn't been updated for 2 years and still seems to specify SSL_version in the version 2.1.8 of Foswiki.

-- JohnElbourne - 25 May 2024

Will remove SSL_version parameter in 2.1.9

-- MichaelDaum - 04 Jun 2024

Great thank-you

-- JohnElbourne - 21 Jun 2024
 

ItemTemplate edit

Summary TLS version problem when sending email
ReportedBy JohnElbourne
Codebase
SVN Range
AppliesTo Engine
Component
Priority Urgent
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease patch
ReleasedIn 2.1.9
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r3 - 21 Jun 2024, JohnElbourne
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy