Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    May 2003
    Location
    north carolina
    Posts
    67

    Default Cpanel security update to perl - LWP ssl problem

    I have had two client's servers exhibit the same problem recently.

    Both servers were set to manual whm/cpanel updates, only automatic security updates.

    A change in perl modules sometime after April 10 broke some perl scripts that make HTTPS requests. One of them was making requests to ebay, the other to authorize.net.

    One of the servers had a clickcart pro shopping cart on it (perl) and was showing this error when trying to contact authorize.net via https:

    Script execution error

    Server closed connection without sending any data back
    The other test perl script from ebay was showing

    SSL3_GET_RECORD:wrong version number
    The fix was to restore /usr/lib/perl5/site_perl from an earlier backup, or point the perl script to use an older perl interpreter installed on the system.

    Has anyone else seen this problem? It seems to be pretty significant but I haven't had any luck in tracking down the exact cause. I think this is the file in question that was updated causing the problem:

    /usr/lib/perl5/site_perl/5.8.8/LWP/Protocol/http.pm

    I tried manipulating LWP by manually setting $ENV{HTTPS_VERSION} to SSLv2 and then SSLv3 but that didnt help.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    May 2003
    Location
    north carolina
    Posts
    67

    Default

    for anyone else who stumbles upon this

    The problem was acknowledged in the libwww-perl package which includes LWP::Request

    Changelog: http://search.cpan.org/src/GAAS/libw...-5.812/Changes

    For releast 5.812 that just came out today, they acknowledged and apparently fixed the problem:

    5.811 breaks SSL requests [RT#35090]

  3. #3
    Member
    Join Date
    Mar 2004
    Posts
    10

    Default Fix LWP SSL problem

    Thanks for the input. We have been struggling with this all afternoon. These are the steps that we took to upgrade to working version of LWP:

    # wget http://cpan.uwinnipeg.ca/cpan/author...l-5.812.tar.gz

    # tar xzf libwww-perl-5.812.tar.gz

    # cd libwww-perl-5.812

    # perl Makefile.PL

    // answer yes to all

    # make

    # make test

    # make install

    After that no more script failure.

Similar Threads & Tags
Similar threads

  1. LWP 6.0 SSL Verification Problems
    By karlschweigert in forum cPanel Developers
    Replies: 1
    Last Post: 03-22-2011, 10:23 AM
  2. perl GET alias for LWP module
    By disstress in forum New User Questions
    Replies: 3
    Last Post: 11-12-2009, 07:58 PM
  3. cpanel auto update problem with perl module
    By aspen0 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-18-2007, 05:01 PM
  4. Replies: 1
    Last Post: 02-06-2004, 05:39 PM
  5. Perl Update Kills Net:SSL
    By Solokron in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-30-2003, 05:55 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube