What is OpenSSL? @Wikipedia: “OpenSSL is an open-source implementation of the SSL and TLS protocols. The core library, written in the C programming language, implements the basic cryptographic functions and provides various utility functions.” Enough for the explanation of OpenSSL. 🙂 Let’s go for the real tutorial on how you can install OpenSSL into you 32 bit Windows. I am using 32 bit Windows 7 for this tutorial. Before we can start the installation, please make sure that you have the following items ready or installed in your system: MS Visual Studio
  1. Install MS Visual Studio. It will work even with MS Visual Studio 2010 Express edition.
  1. Create a new folder C:\openssl-1.0.1g
  2. Download latest OpenSSL source from https://www.openssl.org/source/. I am using “openssl-1.0.1g.tar.gz” in this tutorial.
  3. Extract the file to C:\openssl-1.0.1g
  1. Download & install ActiveState Perl @ ActiveState Perl
With the readiness of above mentioned items, we are now ready to build the OpenSSL library.
  2. Open the command prompt windows.
  3. Run “C:\Program Files\Microsoft Visual Studio 10.0\Common7\Tools\vsvars32.bat” to get visual studio environment setup.
  4. Browse to C:\openssl-1.0.1g
  5. Run “perl Configure VC-WIN32 no-asm – -prefix=C:\openssl-1.0.1g-bin”. This will configure to build using visual C++ in Win32 platform. Also, it will configure to install to “C:\openssl-1.0.1g-bin” in later step.
  6. NOTE:
    If you wish to compile with debugging symbols. Then run the
    following command:

    "perl Configure debug-VC-WIN32 no-asm --prefix=C:\openssl-1.0.1g-bin"
  7. Run “ms\do_ms”.