Building OpenSSL from Source.
Build OpenSSL from Source on Windows
- Prerequisites
- Visual Studio (any version will do, latest if possible)
- Strawberry Perl https://strawberryperl.com
- Nasm (Netwide Assembler) https://www.nasm.us
- Windows OS
- Follow these steps
- Download the source tar ball for OpenSSL from www.openssl.org
- Make a new folder at any convenient location and extract the contents of the downloaded tar ball into that folder.
- Launch Visual Studio Developer Command Prompt and go to the folder where the contents of extracted tarball exists.
- Configure Makefile using "perl configure VC-WIN64A --openssldir=C:\OpenSSL --prefix=C:\OpenSSL"
- Start the building process by executing "nmake".
- Install the binaries using the command "nmake install".
- Once finished, add location of openssl.exe into path environment variable.
Building OpenSSL from source on Linux
- Prerequisites
- Follow these steps
- Download the source tar ball for OpenSSL from www.openssl.org.
- Create a new directory anywhere on linux and extract the contents of tarball into that directory.
- Execute ./configure to generate the Makefile.
- Execute "make" to start the build process. Optionally execute "make -j" if you want to build OpenSSL binaries faster.
- Execute "make install" to install the binaries.
A newer revision of this document is available at : - Configuring Providers