1. Download the latest version of OpenSSL https://www.openssl.org/source/from the OpenSSL website
The latest stable version is the 1.1.0 series of releases
Latest version for 1.1.0 2016.8.25 update
2. Native Install vs Studio, mine is vs2008
3. Install ActivePerl (http://www.activestate.com/activeperl/downloads website address), It is best to install version 5.20, because in the process of compiling OpenSSL, always said to find NMAKE, obviously the path has been added, that is not found
Also said that you can use the PPM Package Manager to install Dmake, the latest version of the ActivePerl community free version of 5.28 does not support the installation of Dmake, as shown in
So change ActivePerl for version 5.20, install Dmake
4. Install the NASM assembler http://www.nasm.us/
5.
1) Open the VS Studio command-line tool, as shown in 1. If compiling the 64-bit OpenSSL library, open visual Studio x64 Win64 Command Prompt and vice versa.
Figure 1
2) Configure the compilation file and installation directory;
Compiling Win32:perl Configure Vc-win32--prefix=c:\some\openssl\dir
Compiling Win64:perl Configure vc-win64a--prefix=c:\some\openssl\dir
The "C:\some\openssl\dir" directory can be changed to any installation directory you wish
6. All said to find the MS Directory of BAT script, I do not have
So don't worry, just nmake, nmake install
Windows platform source code to compile the latest version of OpenSSL