lwp/crypt::ssleay howto verify ssl certificate

From: Markus (markus.rietzler_at_rzf.fin-nrw.de)
Date: 06/24/04


Date: 24 Jun 2004 08:38:48 -0700

i did a google search in the last hour but couldn't fine a answer to
my problem. so i am posting it here:

i want to access a https-site via perl script
i am using perl 5.8.1, lwp (libwww-5.79), crypt-ssleay (0.51), openssl
(0.9.7d)

sofar connect is no problem. i can connect, get pages, headers etc.
i also think, that the communication is secure through ssl-encryption.
but: how can i be sure, that i am really talking to the site, no man
in the middle, dns-spoofing etc?

in the http-header i can see "client-ssl-cert-subject",
"client-ssl-cert-issuer" as strings. but how i can i be sure, that a)
i am talking to the correct server b) the client is still valid?

thanxs

markus



Relevant Pages

  • Re: FAQ Posting problem
    ... or what a minimum interface might be for a perl script that ... After all it's not a nation wide bulk posting with 5 millions spams per ... LWP based Perl script running on CRON job. ... poster update. ...
    (comp.lang.javascript)
  • Re: Security implications of using open() on untrusted strings.
    ... I should actually have removed that paragraph from my posting. ... isn't the user supposed to be in control of that ... In perl the perl script author has the choice to be safe (three argument ...
    (comp.lang.python)
  • Re: comp.lang.javascript FAQ - META 2008-05-07
    ... version in the HTML, so I updated those, I'll have a ... the Perl script for the daily postings runs from ... http://www.jibbering.com/faq/index.xml and extracts one FAQ-entry from ... a cronned Monday and Wednesday posting were ...
    (comp.lang.javascript)
  • Re: Novice how to design this script?
    ... > I an currently tying myself in knots trying to write a perl script ... > which will basically get from one file a list of stations and from ... But before posting, please study the posting guidelines for this group: ...
    (comp.lang.perl.misc)
  • Re: latex to mediawiki
    ... I tried the google search: ... convert tex site:wikipedia.org ... Here you can find a perl script for some simple conversions. ... Prev by Date: ...
    (comp.text.tex)