Windows platform source code to compile the latest version of OpenSSL

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.