Howdy,
In order to remain PCI compliant I need to make sure that our e-commerce web app is submitting data to 3rd party services with SSL 3.0. We are using a simple HTTP::Request::Common "POST" to an HTTPS URL with LWP::UserAgent. The headers of the response don't tell me anything about what SSL version is being used, and I can't find anything in the docs for HTTP::Request::Common (or HTTP::Request, or LWP::UserAgent) which would provide any insight.
Is there any test I can run which would reveal what version of SSL is being used? If it turns out that we're using SSL 2.0 then we have a real problem on our hands as a major 3rd party service we use will be dropping support for SSL 2.0 rather soon.
Any advice is appreciated.
- Phil
If it helps any, this is a stripped down example of how we're making HTTPS POST requests:
use HTTP::Request::Common qw(POST);
use LWP::UserAgent;
my $ua = LWP::UserAgent->new;
my $req = POST "https://some.secure.site.com/script.cgi",
[
some_data => 'value 1',
more_data=> 'value 2'
];
my $page = $ua->request($req)->as_string;
print $page;
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.