stunnel.exe
distribution sites.
libssl32.dll and
libeay32.dll from the
distribution sites, found in the Win32 directory.
Copy them into the
\windows\system directory.
stunnel.pem from the Win32
directory.
If you are on FreeBSD, then you may already have the sources to OpenSSL and stunnel on your system. Simply do the following:
# cd /usr/ports/security/stunnel # make installIt will compile and install both OpenSSL and stunnel for you. If you don't have the necessary source files in your system, those are automatically fetched for you. Easy and convenient :-)
To install stunnel from the sources, download the tar files and place them in a temporary directory. Read the INSTALL file. Then do the following:
# gzip -dc stunnel-3.8.tar.gz | tar -xvf - # cd stunnel-3.8 # ./configure # make # make install
Assuming all went well you should now have stunnel installed in /usr/local
Stunnel is known to compile with the mingw compiler and the Visual C++ compiler. It is best if you compile stunnel with the same compiler you used for compiling OpenSSL or SSLeay.
You must uncompress and unpack the stunnel-3.8.tar.gz
file onto your hard drive. Various zip/unzip programs can handle
that format. (Suggestions to the stunnel FAQ maintainer
are welcome.)
A Makefile.W32 is provided on the distribution sites
for compiling stunnel on the Windows platform. You do not need
to run the configure steps above.
configure script
is to determine a few compile-time options specific to
your computer and environment.
Aside from the standard GNU configure
options, there are a few stunnel-specific flags you
can give:
--with-random=FILE
/dev/urandom which is
the standard location on most Linux and *BSD
systems.
--with-ssl=DIR