HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to Build OpenSSL on Windows with Visual Studio, Visual C++, ActiveState PERL

11,694 views October 26, 2018 34:58

Watch on YouTube
ChannelThomas Kim

Description from the creator

How to build #OpenSSL on Windows Using Visual Studio

Download Precompiled Binary:

OpenSSL 1.1.1 for Visual Studio 2015 (dll, static, x82, x64):
goo.gl/H8sNKj

OpenSSL 1.1.1 for Visual Studio 2017 (dll, static, x82, x64):
goo.gl/ynRJST

OpenSSL 1.1.1 Source fixed for Visual Studio:
goo.gl/YqSoGF

0. Prerequisites:

Visual Studio 2017 (Visual C++ compiler)
on Windows 7, 8, 8.1, 10

1. Command Prompt - with Administrator Privilege

1. Download OpenSSL master package

openssl.org/source/

github.com/openssl/openssl

openssl-master.zip

2. Either Visual Studio 2015 or 2017 should be installed on your machine.

3. Install PERL

activestate.com/activeperl/downloads

cpan -i Text::Template
cpan -i Test::More

4. Download nasm
nasm.us/
nasm.us/pub/nasm/releasebuilds/2.14rc15/win64/

download.cnet.com/ActiveState-ActivePerl-32-bit…

activestate.com/activeperl/downloads/thank-you?…

downloads.activestate.com/ActivePerl/releases/5…

downloads.activestate.com/ActivePerl/releases/5…


5. Configuration

VC-WIN64A for Visual C++ for AMD64 or x86-x64 (or Intel - x64 - Desktop CPU)

VC-WIN64I for Visual C++ for Intel - x64 - Intel Itanium Architecture CPU

// installation folder
--prefix=C:\DevSoft\OpenSSL\DLL\x64\Release

// key store folder
--openssldir=C:\DevSoft\OpenSSL\SSL

// release build
--release

// debug build
--debug

// static library
no-shared

// default is shared library or DLL on Windows
Configuration for Visual C++, x64-bit, x86-64, AMD64
shared library (or DLL), release

perl Configure
VC-WIN64A
--release
--prefix=C:\DevSoft\OpenSSL\DLL\x64\Release
--openssldir=C:\DevSoft\OpenSSL\SSL

Configuration for Visual C++, x64-bit, x86-64, AMD64
shared library (or DLL), debug

perl Configure
VC-WIN64A
--debug
--prefix=C:\DevSoft\OpenSSL\DLL\x64\Debug
--openssldir=C:\DevSoft\OpenSSL\SSL

Configuration for Visual C++, x64-bit, x86-64, AMD64
static library, release

perl Configure VC-WIN64A
--prefix=C:\DevSoft\OpenSSL\Lib\x64\Release
--openssldir=C:\DevSoft\OpenSSL\SSL
no-shared

Configuration for Visual C++, x64-bit, x86-64, AMD64
static library, debug

perl Configure VC-WIN64A
--debug
--prefix=C:\DevSoft\OpenSSL\Lib\x64\Debug
--openssldir=C:\DevSoft\OpenSSL\SSL
no-shared

To build
nmake

To test build
nmake test

To install all component including documentation
nmake install

To install software component only
nmake install_sw

To clean up
nmake clean

Further References:

rietta.com/blog/2012/01/27/openssl-generating-r…

youtube.com/watch?v=zwnEmLx2LRs

youtube.com/watch?v=4lgcElJWxVM

phildev.net/ssl/opensslconf.html

docs.oracle.com/cd/E19509-01/820-3503/ggeyz/ind…

docs.genesys.com/Documentation/PSDK/9.0.x/Devel…

feistyduck.com/library/openssl-cookbook/
openssl.org/docs/manmaster/man5/config.html

About this tutorial

Thomas Kim published this 34:58 video tutorial on October 26, 2018. It has been watched 11,694 times on YouTube.

Channel
Thomas Kim
Category
Education
Duration
34:58
Published
October 26, 2018
Views
11,694
Likes
68

Tags

Share

This tutorial in other languages