Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Win32 SSL?

by eduardo (Curate)
on Nov 25, 2002 at 15:51 UTC ( #215653=perlquestion: print w/ replies, xml ) Need Help??
eduardo has asked for the wisdom of the Perl Monks concerning the following question:

Greetings!

I am in the process of attempting to write a small perl application to do SSL tunneling with sprinkles (this means that I will be doing packet introspection and modifying things *before* they are SSL'd). I have succeeded with almost no effort in getting my solution to work on a Linux box thanks to the lovely IO::Socket::SSL. However, due to the nature of having "clients", I have to get the program to work in a Windows environment. As a small aside before I get to the "main question", I am using Perl2Exe right now, though I will be evaluating PerlApp just to see the pro's and con's (I have no choice, this has to be a stand alone executable, the clients are guaranteed *not* to even have heard of Perl.)

So... here is the main question :) Knowing darned well that MS has provided SSL libraries in it's Operating System (after all, IE uses them to do https), I was wondering if any more Win saavy perl monks knew how to take advantage of these libraries and "get" an SSL stream in Windows without having to resort to bundling the OpenSSL library in my end product?

Any pointers would be appreciated!

Comment on Win32 SSL?
Re: Win32 SSL?
by Thelonius (Curate) on Nov 25, 2002 at 18:05 UTC
    I don't know of a Perl module for this. I do, however, know of someone who put an OpenSSL-style C wrapper around some of the Windows CryptoAPI. See Openssl/Microsoft Crypto API Interface.

    If you are industrious, you could use that code to work up a replacement for SSLeay.xs in the Net::SSLeay module. It's quite likely that you don't need all the functions that are defined in SSLeay.xs. If you can figure out the mininum set, it might not be too much work. If you do it, post something pack on PM to let us know. I would be interested in that.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://215653]
Approved by robartes
Front-paged by jeffa
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (13)
As of 2014-08-22 14:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (158 votes), past polls