in reply to Handling SSL digital certificate using LWP

RTFM
# DEBUGGING SWITCH / LOW LEVEL SSL DIAGNOSTICS $ENV{HTTPS_DEBUG} = 1; # DEFAULT SSL VERSION

Replies are listed 'Best First'.
Re^2: Handling SSL digital certificate using LWP
by lamp (Chaplain) on Jun 06, 2007 at 10:51 UTC
    Here is the output after adding HTTPS_DEBUG.

    LWP::UserAgent::new: () LWP::UserAgent::request: () LWP::UserAgent::send_request: POST https://sitename.com LWP::UserAgent::_need_proxy: Not proxied LWP::Protocol::http::request: () LWP::UserAgent::request: Simple response: Internal Server Error

      Since you got an Internal Server Error you should check the Web Server error logs to see what message it spits out from your script.