Building OpenSSL from Source.


Build OpenSSL from Source on Windows

- Prerequisites

- Follow these steps

  1. Download the source tar ball for OpenSSL from www.openssl.org
  2. Make a new folder at any convenient location and extract the contents of the downloaded tar ball into that folder.
  3. Launch Visual Studio Developer Command Prompt and go to the folder where the contents of extracted tarball exists.
  4. Configure Makefile using "perl configure VC-WIN64A --openssldir=C:\OpenSSL --prefix=C:\OpenSSL"
  5. Start the building process by executing "nmake".
  6. Install the binaries using the command "nmake install".
  7. Once finished, add location of openssl.exe into path environment variable.



Building OpenSSL from source on Linux

- Prerequisites

- Follow these steps

  1. Download the source tar ball for OpenSSL from www.openssl.org.
  2. Create a new directory anywhere on linux and extract the contents of tarball into that directory.
  3. Execute ./configure to generate the Makefile.
  4. Execute "make" to start the build process. Optionally execute "make -j" if you want to build OpenSSL binaries faster.
  5. Execute "make install" to install the binaries.


A newer revision of this document is available at : - Configuring Providers