On Tue, 30 Nov 1999, Reiner Buehl wrote:

> I'd like to post some stuff to a https server from a perl script
> using client cert secured SSL v3 connections. At the moment everything
> works with server cert SSL v2 but I have no idea how to switch to
> SSL v3.

you can specify the prefered protocol version with
$Net::SSLeay::ssl_version. see SSLeay.pm.

> How do I tell my script which cert file to use and which 
> password is needed to use it? Is this possible with perl and Net::SSLeay
> (or another perl module) and if so could somebody point me to some
> sample code for this particular case?

for RSA key exchange you could use
        Net::SSLeay::CTX_use_RSAPrivateKey_file() and
        Net::SSLeay::CTX_use_certificate_file()
routines for example.


also, if you're using Net::SSLeay for talking to a web server you might
want to check out libwww-perl.

best regards,
--
        aspa

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to