• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

examples/H03-May-2022-1,411922

helper_script/H21-Jan-2021-3,2252,073

inc/Test/Net/H21-Jan-2021-947335

lib/Net/H21-Jan-2021-11,8968,124

t/H21-Jan-2021-9,1567,933

CONTRIBUTING.mdH A D21-Jan-2021777 2316

ChangesH A D21-Jan-202179.1 KiB1,6201,531

CreditsH A D09-Jul-2018375 97

LICENSEH A D04-May-20208.7 KiB202151

MANIFESTH A D21-Jan-20216.1 KiB230229

META.jsonH A D21-Jan-20212.1 KiB8382

META.ymlH A D21-Jan-20211.2 KiB4746

Makefile.PLH A D03-May-202212.1 KiB368314

QuickRefH A D09-Jul-20188.9 KiB289212

READMEH A D21-Jan-202112.3 KiB319241

README.OSXH A D09-Jul-20182.2 KiB6759

README.VMSH A D27-Jul-20181.1 KiB2824

README.Win32H A D09-Jul-20187.4 KiB233209

SSLeay.xsH A D03-May-2022182.1 KiB7,6035,999

constants.cH A D12-Sep-2020154.1 KiB6,8454,901

ppport.hH A D17-Feb-2019170.8 KiB7,0643,086

typemapH A D04-May-20202.1 KiB9390

README

1README - Net::SSLeay Perl module for using OpenSSL
2
3By popular demand...
4--------------------
5
6   perl -MNet::SSLeay -e '($p)=Net::SSLeay::get_https("www.openssl.org", 443, "/"); print $p'
7
8
9for the released versions:
10   https://metacpan.org/release/Net-SSLeay
11
12for the latest and possibly unstable version from git:
13
14   https://github.com/radiator-software/p5-net-ssleay
15
16
17Prerequisites
18-------------
19
20Perl 5.8.1 or higher.
21
22One of the following libssl implementations:
23
24* Any stable release of OpenSSL (https://www.openssl.org) in the
25  0.9.8 - 1.1.1 branches, except for OpenSSL 0.9.8 - 0.9.8b.
26* Any stable release of LibreSSL (https://www.libressl.org) in the
27  2.0 - 3.1 series.
28
29Net-SSLeay may not compile or pass its tests against newer releases
30than the ones listed above due to libssl API incompatibilities, or, in
31the case of LibreSSL, because of deviations from the libssl API.
32
33If you are using a version of OpenSSL or LibreSSL distributed by your
34operating system vendor, you may also need to install a "development"
35package containing the header files that correspond to the OpenSSL or
36LibreSSL library package. Examples include:
37
38* libssl-dev for OpenSSL on Debian and Ubuntu;
39* openssl-devel for OpenSSL on Red Hat Enterprise Linux and Fedora.
40
41On Linux, zlib is also required, even when libssl is built without
42support for TLS compression. zlib is probably also available via your
43Linux distribution's package manager, e.g.:
44
45* zlib1g-dev on Debian and Ubuntu;
46* zlib-devel on Red Hat Enterprise Linux and Fedora.
47
48A future version of Net-SSLeay will remove this requirement when
49building against a libssl without support for TLS compression.
50
51The same C compiler and options should be used to compile all of Perl,
52OpenSSL/LibreSSL, and Net-SSLeay. Mixing compilers and options often
53leads to build errors or run-time malfunctions that are difficult to
54debug.
55
56
57Installing
58----------
59
60Unix:
61	# build or install OpenSSL as per instructions in that package
62
63	gunzip <Net-SSLeay.pm-1.35.tar.gz | tar xvf -
64	cd Net-SSLeay.pm-1.35
65	perl Makefile.PL     # builds and tests it
66	make test            # Run the test suite
67	make install         # You probably have to su to root to do this
68
69	If your OpenSSL is installed in an unusual place, you can tell
70	Net-SSLeay where to find it with the OPENSSL_PREFIX environment
71	variable:
72	OPENSSL_PREFIX=/home/mikem/playpen/openssl-1.0.2c perl Makefile.PL
73	....
74
75HPUX:
76	In principle the Unix build should work (Makefile.PL contains
77	special code to detect aCC), but historically there have been
78	some problems. Marko Asplund (aspa@@kronodoc._fi) reports
79	that he has successfully compiled on HP-UX. He used following
80	incantations
81
82	Configuring OpenSSL:
83
84		./Configure no-asm --prefix=/openssl/path hpux-parisc2-cc
85
86	Configuring Net::SSLeay:
87
88		OPENSSL_PREFIX=/openssl/path perl Makefile.PL CCFLAGS='-D_HPUX_SOURCE \
89		 -Aa -I/usr/local/include +e'
90
91	The magic bit seemed to be the `+e' flag. Since version 1.14
92	Makefile.PL tries to figure this out.
93
94	He was using: gcc v2.95.2, OpenSSL v0.9.6c, Net::SSLeay-1.13
95
96Windows:
97	Supported on 32 and 64 bit platforms
98	See README.Win32 for details
99
100OS X:
101	See README.OSX
102---------------------------------
103You should also be able to use CPAN.pm to install this module if you like.
104
105Problems (read this before filing a bug)
106----------------------------------------
107
108Please, do not send bug report before you have
109
110  - compiled your OpenSSL yourself - don't copy binaries, please
111  - compiled your perl yourself and with substantially same CFLAGS
112    and same C compiler (say `which cc' or `which gcc') as your OpenSSL.
113    This is especially applicable to link errors and shared
114    library loading problems. Please do not even dream of
115    copying a perl binary or installing perl binary from a package.
116    Perl's idea of calling conventions has to match OpenSSL's and
117    unfortunately both are quite advanced pieces of code
118    (guru duel: Larry Wall vs. Eric Young :-) with dynamic loading
119    and who knows what
120  - compiled my module from source against correct perl (say `which perl'
121    and check your path). Generally my module's build process will
122    discover correct compiler and flags from `perl -V'
123  - tried gcc, if your vendor cc fails
124
125If you post a question or make a bug report, please remember to mention
126
127  - Your platform and OS version (i386 Linux, Sparc Solaris, etc) (uname -a)
128  - On Linux, please report glibc version as well (ls -l /lib/libc*)
129  - Net::SSLeay version (see tar ball)
130  - OpenSSL version (`/usr/local/ssl/bin/openssl version')
131  - ANSI C compiler brand and version (e.g. gcc -v)
132
133If build fails,
134  - Dop you have OpenSSL headers installed? Perhaps you need the OpenSSL Devel
135    package for your Linux distribution.
136  - three compiler warnings are known to be emitted (due to lack of const
137    in some places), one of them indicates a fatal bug in callback handling,
138    but as I have not yet sorted it out, you'll simply have to ignore it
139  - if you installed OpenSSL from some distribution, try getting a fresh
140    copy from www.openssl.org and recompiling and installing it yourself
141  - if using newer than supported OpenSSL, please downgrade to supported
142    version to see if it makes difference
143  - you must compile the module, perl, and openssl with the same C compiler
144    and the same options. Use perl -V to check what options were used and
145    recompile openssl and Net::SSLeay accordingly
146  - never report bugs related to binary installs. First compile _yourself_
147    perl, openssl and my module, always using the same compiler and
148    compiler flags. Many distros are known to "know better" and thus
149    cause problems for their users. I'm not very sympathetic to having
150    to answer end user questions thus created.
151  - send full output of `make clean; perl Makefile.PL -t'
152
153If make test fails, please
154  - one warning is known to be emitted between tests 4 and 5 (callback)
155  - edit test.pl and set $trace=2
156  - send full output of `make clean; perl Makefile.PL -t'
157  - send contents of sslecho.log
158
159If you have problems with a site, please
160  - what site, what server software (including version and platform)
161  - does it reproduce with s_client, try with something like
162
163   echo 'GET /' | /usr/local/ssl/bin/openssl s_client -connect www.bacus.pt:443
164
165  - does it reproduce with popular web browsers
166  - play with Net::SSLeay::ssl_version (see top of SSLeay.pm)
167  - does the site run exotic configuration, e.g. insisting on specific
168    protocol version, limiting available ciphers, using nonstandard
169    ciphers, weird authentication arrangements, etc.)
170  - contact the owner of the server to see what the problem looks like
171    in his end. He should be able to tell you the exact versions used
172    and the error messages he is seeing in his log
173  - if you ask me to check a site out, you are granting me permission
174    to access that site and will pay all legal expenses to defend me
175    in court as well as any remedies that may be granted to the site
176    in case the site decides to sue me. You warrant that you are
177    authorized to give me permission to access the site.
178  - if you ask me to check a site, please send me a working URL and
179    include any authentication credentials if needed. If your site
180    is so confidential that you can not give me an URL, then do
181    not ask me to debug your problems.
182
183HP-UX is known to give some problems, please mail me or the mailing
184list so we can get these problems straightened. Hint: it has to do
185with dynamic loading. One user reports that adding `-lgcc' to EXTRALIBS
186and LD_LOAD_LIBS in Makefile fixes the problem. I have not received any
187confirmation whether this fix really works, but its worth a try. Another
188bag of problems is people installing against binary distributed
189perl and compiling the package with different cc or different options.
190Genereally this will never work. Please compile _yourself_ your perl,
191openssl, and the module, always with the same compiler and compiler flags.
192
193Solaris 8 does not come standard with /dev/random or /dev/urandom, and the
194'make test' assumes that some source of randomness is available. 'make test'
195will fail on Solaris 8 if /dev/urandom is not available. The error message
196seen with trace enabled will be "SSL_GET_NEW_SESSION:ssl session id callback
197failed". In order to fix this, you must install Sun patch 112438-03 from
198http://sunsolve.sun.com
199
200#: unzip 112438-03.zip
201#: patchadd ./112438-03
202You will probably need to reboot your system:
203#: reboot
204
205I have a report (schinder@@pobox._com) of make test segfaulting on
206Linux-PPC. This still needs to be investigated. No recent information
207has been received.
208
209"Random number generator not seeded!!!" This warning indicates that
210    randomize() was not able to read /dev/random or /dev/urandom, possibly
211    because your system does not have them or they are differently
212    named. You can still use SSL, but the encryption will not be as
213    strong.
214
215Did you read the POD documentation (if you don't know what that
216is, just say `perldoc Net::SSLeay' or `more SSLeay.pm')?
217
218Are you sure you didn't confuse `Net::SSLeay' with `SSLeay' that
219comes with OpenSSL?
220
221Check that perl is finding your OpenSSL.
222
223If `make test' bombs, add following line to the test script that fails:
224
225	$Net::SSLeay::trace = 2;
226
227and see what happens. You may also have to edit test.pl to make sure
228the debugging output gets printed.
229
230If `make test' prints lots of `connect: Connection refused...' errors,
231then sslecho.pl test server has died. It is supposed to be launched in
232the beginning of test.pl, but can fail if, e.g. port 1212 is taken or
233in TIMEWAIT state. Look also in ssleacho.log file for diagnostics.
234
235If you are really low on memory and the 1 MB tests fail, edit value of
236$mb variable in test.pl.
237
238If you get core dump, build your perl for debugging (add -g to
239ccflags, see INSTALL in perl distribution), build your SSLeay for
240debugging as well, add -g flag to Makefile.PL:
241
242	make clean
243	perl Makefile.PL -g
244	make static
245	make test_static
246	gdb perl core       # post mortem
247	  > bt              # show stack trace
248	gdb perl            # run live with debugging
249	  # set break point in SSLeay.xs or in suspect function of OpenSSL
250	  > br XS_Net__SSLeay_connect
251	  > run yourscript.pl arg arg
252
253For gdb'ing make sure gdb finds all the relevant source code. This
254may mean that you must run perl and OpenSSL from the directories where
255the respective makefiles build them.
256
257You can also enable PR and PRN macros in SSLeay.xs and sprinkle
258even some more around the code to figure out what's happening.
259
260Some exotic configurations of perl may cause unstability: make sure
261OpenSSL uses the same malloc as perl. Recompile perl without
262threads. Try not using the PerlIO abstraction.
263
264If you need to tweak build for some platform, please let me know
265so I can fix it. Patches and gdb session dumps are also welcome.
266
267Copyright
268---------
269
270Copyright (c) 1996-2003 Sampo Kellomäki <sampo@iki.fi>
271Copyright (c) 2005-2010 Florian Ragwitz <rafl@debian.org>
272Copyright (c) 2005-2018 Mike McCauley <mikem@airspayce.com>
273Copyright (c) 2018- Chris Novakovic <chris@chrisn.me.uk>
274Copyright (c) 2018- Tuure Vartiainen <vartiait@radiatorsoftware.com>
275Copyright (c) 2018- Heikki Vatiainen <hvn@radiatorsoftware.com>
276
277All rights reserved.
278
279License
280-------
281
282Net-SSLeay is released under the terms of the Artistic License 2.0. For
283details, see the LICENSE file.
284
285Recommended reading
286-------------------
287
288===> HTTP protocol specification. It applies 100% to HTTPS too and doing
289password authentication is explained there. <===
290
291If you are newbie interested in grabbing web pages from https servers,
292please read HTTP documentation from http://www.w3c.org/ before asking trivial
293questions. That document also covers the basic-auth FAQ (URLs like
294http://user:pass@host). Do not ask questions about authentication before
295consulting the HTTP specification. HTTPS is just HTTP in SSL transport.
296
297If you are doing advanced stuff, and don't find documentation you need,
298please try to extrapolate from OpenSSL documentation (which unfortunately
299is quite sparse) and the source code.
300
301If you run into build problems, especially regarding shared libraries,
302check your perl documentation, especially the perlxtut(1) man page,
303which gives excellent tutorial of the build process of XSUBs.
304
305  perlxtut(1)
306  perlxs(1)
307  perlguts(1)
308  perlcall(1)
309
310Say `perldoc Net::SSLeay' _NOW_!
311
312To download OpenSSL, see https://www.openssl.org/
313
314Bug reports, patch submission, feature requests and git access to the
315latest source code etc., can be obtained at
316https://github.com/radiator-software/p5-net-ssleay
317
318
319

README.OSX

1As of 15 Jun 2015, Apply no longer ships OpenSSL with OS X:
2(http://lists.apple.com/archives/macnetworkprog/2015/Jun/msg00025.html)
3
4Some OS X packages and bundles install OpenSSL, typically in /opt/local
5if that is the case it is sufficient for you to unpack and build
6Net-SSLeay in the usual way:
7
8#cd to a working directory
9cd /Users/mikem/tmp/
10# unpack net-ssleay from wherever you got it:
11tar zxvf /Volumes/projects/net-ssleay/trunk/Net-SSLeay-1.72.tar.gz
12cd Net-SSLeay-1.72
13# Build it for 64 bits (default)
14perl Makefile.PL
15make
16make test
17# as root, install the compiled Net-SSLeay:
18make install
19
20If a working openssl is not installed already the above will fail,
21but you can still build your own OpenSSL to link against:
22(https://wiki.openssl.org/index.php/Compilation_and_Installation), and build Net-SSLeay against it:
23Test compilation etc in a private directory eg:
24
25#cd to a working directory
26cd /Users/mikem/tmp/
27wd=`pwd`
28# unpack openssl from wherever you got it:
29tar zxvf /Volumes/src/openssl-1.0.2c.tar.gz
30cd openssl-1.0.2c
31# Build for 64 bits and install it in a local directory
32darwin64-x86_64-cc shared enable-ec_nistp_64_gcc_128 no-ssl2 no-ssl3 no-comp --prefix=$wd/openssl
33make
34make install_sw
35cd $wd
36# unpack net-ssleay from wherever you got it:
37tar zxvf /Volumes/projects/net-ssleay/trunk/Net-SSLeay-1.72.tar.gz
38cd Net-SSLeay-1.72
39# Build it for 64 bits (default)
40OPENSSL_PREFIX=$wd/openssl perl Makefile.PL
41make test
42# You should see successful test run data and "Result: PASS"
43
44Real installation of OpenSSL and Net-SSLeay to public areas eg:
45
46#cd to a working directory
47cd /Users/mikem/tmp/
48wd=`pwd`
49# unpack openssl from wherever you got it:
50tar zxvf /Volumes/src/openssl-1.0.2c.tar.gz
51cd openssl-1.0.2c
52# Build for 64 bits and install it in a local directory
53darwin64-x86_64-cc shared enable-ec_nistp_64_gcc_128 no-ssl2 no-ssl3 no-comp
54make
55sudo make install_sw
56cd $wd
57# unpack net-ssleay from wherever you got it:
58tar zxvf /Volumes/projects/net-ssleay/trunk/Net-SSLeay-1.72.tar.gz
59cd Net-SSLeay-1.72
60# Build it for 64 bits (default)
61perl Makefile.PL
62make test
63# You should see successful test run data and "Result: PASS"
64# Install it, typically to /Library/Perl/5.18 or whereever
65sudo make install
66
67

README.VMS

1Building on OpenVMS
2======================
3You'll need to either build and install OpenSSL from source using the
4authoritative sources from openssl.org or install a PCSI kit from HPE or
5VSI.  Building against your own from-source installation currently uses
6SSL object libraries that will be statically linked into the
7Net::SSLeay shareable image.  That means no updates to SSL without
8updating Net::SSLeay.
9
10Building against a vendor installation gives you the possibility of SSL
11updates without rebuilding Net::SSLeay, assuming the upgrade is binary
12compatible, and also gets you the possibility of vendor support if you
13encounter a problem that is within the SSL libraries.  If you don't know
14what any of this means, just use whatever is already on your system (if
15anything) or install whatever is easiest.
16
17Once you've got a working installation of the SSL libraries, the steps
18to build Net::SSLeay on VMS are really the same as building any other
19package,and should look something like:
20
21 $ gzip -d Net-SSLeay-xx.xx.tar.gz
22 $ vmstar -xvf Net-SSLeay-xx.xx.tar
23 $ set default [.Net-SSLeay-xx_xx]
24 $ perl Makefile.PL
25 $ mmk
26 $ mmk test
27 $ mmk install
28

README.Win32

1Building on Win 32 platforms
2============================
331.7.1999, Sampo Kellomaki <sampo@iki..fi>
47.6.2002, reviewed and added comments, --Sampo
516.8.2002, added comments by Marcel Bucher --Sampo
610.7.2007. Complete rewrite to agree with latest version 1.31. References to
7ancient versions and untested procedures removed --mikem
822.4.2010 Updated info for 64 bit versions --mikem
9
10Notes:
11
121. With some combinations of Windows, perl, compiler and compiler options, you
13may see a runtime error "no OPENSSL_Applink", when calling
14Net::SSLeay::P_PKCS12_load_file. This appears to be due to incompatible
15compile options between the openssl libraries and Net::SSLeay. In particular
16it has been observed with Shining Light OpenSSL See
17https://www.openssl.org/support/faq.html for more details. Alas, the
18apparently simple and receommended solution of adding applink.c to the SSLeay
19library does not work, since applink.c need to be in the .exe file, not the
20.dll for this to work. Best workaround is to build and install OpenSSL for
21windows yourself.
22
232. If your OpenSSL is installed in an unusual place, you can tell
24Net-SSLeay where to find it with the OPENSSL_PREFIX environment
25variable:
26set OPENSSL_PREFIX=c:\OpenSSL-1.0.1c
27perl Makefile.PL
28make
29.....
30
311. Windows Server 2003
32   ActivePerl 5.8.8.820
33   VC++ 6.0
34   Microsoft Platform SDK SVR2003R2
35   Shining Light Win32 OpenSSL 0.9.7L
36      http://www.shininglightpro.com/products/Win32OpenSSL.html
37   Dynamic linking to SSL DLLs
38
39Install all packages in the order listed above
40Unpack and install the Net-SSLeay package
41 cd Net-SSLeay-xxxx
42 perl Makefile.PL
43 nmake
44 nmake test
45 nmake install
46
47Caution. There is an issue with Shining Light Win32 OpenSSL 0.9.7m and 0.9.8e
48on Server 2003: These versions were built with VC 7.1 and the packages are
49missing the 7.1 runtime DLL. This means that the openssl binaries from those
50versions will not run on a standard Server 2003 platform, and this prevents
51Net-SSLeay being built. Shining Light say this problem will be fixed in later
52versions, where they will revert to the earlier build procedures.
53
542. Windows Server 2003
55   ActivePerl 5.8.8.820
56   VC++ 6.0
57   Microsoft Platform SDK SVR2003R2
58   OpenSSL 0.9.8e source openssl-0.9.8e.tar.gz
59   Dynamic linking to SSL DLLs
60
61Install all packages in the order listed above
62Unpack and build OpenSSL:
63  cd openssl-0.9.8e
64  perl Configure VC-WIN32 --prefix=c:/OpenSSL
65  ms\do_ms
66  nmake -f ms\ntdll.mak
67  nmake -f ms\ntdll.mak install
68(if you have trouble getting to this stage, consult INSTALL.W32)
69  copy c:\OpenSSL\bin\*.dll c:\windows\system32
70
71Unpack and install the Net-SSLeay package
72 cd Net-SSLeay-xxxx
73 perl Makefile.PL
74 nmake
75 copy c:\OpenSSL\bin\*.dll blib\arch\auto\Net\SSLeay\
76 nmake test
77 nmake install
78
793. Windows XP SP2 CAUTION: this is not working yet
80   ActivePerl 5.8.8.820
81   Visual Studio Express 2005
82   Microsoft Platform SDK SVR2003R2
83   OpenSSL 0.9.8e source openssl-0.9.8e.tar.gz
84   Dynamic linking to SSL DLLs
85
86- Install all packages in the order listed above (make sure you follow the
87   instructions on the download page about adding the appropriate paths to the
88   Projects and Solutions section of the Options dialog box, and updating
89   corewin_express.vsprops file)
90- Start a build shell with Start->All Programs->Microsoft Windows SDK->CMD Shell
91- cd openssl-0.9.8e
92- perl Configure VC-WIN32 --prefix=c:/OpenSSL
93- ms\do_masm
94- nmake -f ms\ntdll.mak
95- nmake -f ms\ntdll.mak install
96   (if you have trouble getting to this stage, consult INSTALL.W32)
97- cd Net-SSLeay-xxxx
98- perl Makefile.PL
99- nmake
100- copy c:\OpenSSL\bin\*.dll blib\arch\auto\Net\SSLeay\
101- nmake test
102  CAUTION: nmake test fails at this stage. Any suggestions?? This may be
103   relevant: http://www.itwriting.com/blog/?postid=261&replyto=2542
104- nmake install
105
1064. Windows XP SP2
107   Strawberry Perl 5.8.8-alpha-2
108   OpenSSL 0.9.8e source openssl-0.9.8e.tar.gz
109
110- Install Strawberry Perl by running the installer
111  (strawberry-perl-5.8.8-alpha-2.exe in this example)
112- Unpack openssl-0.9.8e.tar.gz
113- cd openssl-0.9.8e
114- ms\mingw32
115- cd out
116- ..\ms\test
117   (if you have trouble getting to this stage, consult INSTALL.W32)
118- md c:\openssl
119- md c:\openssl\bin
120- md c:\openssl\lib
121- md c:\openssl\include
122- md c:\openssl\include\openssl
123- copy /b inc32\openssl\*       c:\openssl\include\openssl
124- copy /b out\libssl32.a c:\openssl\lib
125- copy /b out\libeay32.a c:\openssl\lib
126- copy /b libssl32.dll c:\openssl\bin
127- copy /b libeay32.dll c:\openssl\bin
128- copy /b out\openssl.exe  c:\openssl\bin
129- cd Net-SSLeay-xxxx
130- c:\strawberry-perl\perl\bin\perl Makefile.PL
131- dmake
132- copy c:\openssl\bin\*.dll blib/arch/auto/Net/SSLeay
133- dmake install
134
1354. Windows XP SP2
136   Perl CamelPack perl-camelpack-5.8.7.exe
137   Shining Light Win32 OpenSSL 0.9.7L
138      http://www.shininglightpro.com/products/Win32OpenSSL.html
139
140Install all packages in the order listed above
141Unpack and install the Net-SSLeay package
142 cd Net-SSLeay-xxxx
143 perl Makefile.PL (accept external tests and extra CPAN installs)
144 nmake
145 nmake install
146
147(Note that 'nmake test' does not seem to work with CamelPack 5.8.7)
148
1495. Windows Server 2003
150   ActivePerl 5.8.8.820
151   VC++ 6.0
152   Microsoft Platform SDK SVR2003R2
153   OpenSSL 0.9.8e source openssl-0.9.8e.tar.gz + tls extensions patch
154    from Radiator/goodies/openssl-0.9.8e-session-ticket-osc.patch
155   Dynamic linking to SSL DLLs
156
157Install all packages in the order listed above
158Unpack, patch and  and build OpenSSL, patch with
159  cd openssl-0.9.8e+extensions
160  patch -p1 < Radiator/goodies/openssl-0.9.8e-session-ticket-osc.patch
161  perl Configure VC-WIN32 --prefix=c:/OpenSSL enable-tlsext
162  ms\do_ms
163  nmake -f ms\ntdll.mak
164  nmake -f ms\ntdll.mak install
165(if you have trouble getting to this stage, consult INSTALL.W32)
166  copy c:\OpenSSL\bin\*.dll c:\windows\system32
167
168Unpack and install the Net-SSLeay package
169 cd Net-SSLeay-xxxx
170 perl Makefile.PL
171 nmake
172 copy c:\OpenSSL\bin\*.dll blib\arch\auto\Net\SSLeay\
173 nmake test
174 nmake install
175
1766. Windows Server 2003
177   ActivePerl 5.10.1
178   Microsoft Platform SDK 2003 SP1
179   OpenSSL 0.9.8i source including TLS extensions
180   Dynamic linking to SSL DLLs
181
182Build OpenSSL
183   S:
184   cd \openssl-0.9.8i+extensions
185   nmake -f ms\ntdll.mak clean
186   perl Configure VC-WIN64A --prefix=c:/OpenSSL enable-tlsext
187   ms\do_win64a
188   nmake -f ms\ntdll.mak
189   cd out32dll
190   ..\ms\test
191   nmake -f ms\ntdll.mak install
192Now build Net-SSLeay
193   nmake clean
194   R:
195   cd \net-ssleay\trunk
196   perl Makefile.PL
197   nmake
198   copy c:\OpenSSL\bin\*.dll blib\arch\auto\Net\SSLeay
199   nmake test
200   nmake install
201
2027. Windows XP Professional SP3
203  ActivePerl 5.16.1
204  OpenSSL 1.0.1j binary from http://slproweb.com/download/Win32OpenSSL-1_0_1j.exe
205  Visual C++ 2008 Redistributables from http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF
206  Microsoft Visual Studio 2010 Express
207   with Visual Studio Command Prompt shell:
208   R:
209   cd \net-ssleay\trunk
210   perl Makefile.PL
211   nmake
212   nmake test (some warnings will be reported)
213
2148. Windows XP Professional SP3 on VMWare
215  ActivePerl 5.16.1
216  OpenSSL 1.0.1 source code
217  Microsoft Visual Studio 2010 Express
218   with Visual Studio Command Prompt shell:
219Build OpenSSL
220   S:
221   cd \openssl-1.0.1e
222   perl Configure VC-WIN32 no-asm --prefix=c:/OpenSSL
223   ms\do_ms
224   nmake -f ms\ntdll.mak
225   nmake -f ms\ntdll.mak install
226Now build Net-SSLeay
227   R:
228   cd \net-ssleay\trunk
229   nmake clean
230   perl Makefile.PL
231   nmake
232   nmake test (some warnings will be reported)
233