OpenSSL is a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols.
I use it in many of my project. But lack tutorial build it for windows
So here is it, after dig dig dig sometime...
Preparing :
My System : Windows 8 x64
+ OpenSSL 1.1.1h src code download from : https://www.openssl.org/source/
+ Perl 64 bit : https://www.perl.org/
+ Visual Studio 2019 : https://visualstudio.microsoft.com/downloads/ (but i think other version also okay)
Extract the openssl src to D:\openssl\openssl-1.1.1h
Open x86 Native Tools Command Prompt for VS 2019
Move to the src directory
TYPE : "perl configure LIST" to list all configure avaiable
1. perl configure VC-WIN32 no-asm
(for x64 : perl configure VC-WIN64A no-asm)
2. nmake
3. nmake install
4. done, the library is build and put in D:\openssl\openssl-1.1.1h
Do the same with other config, if necessary edit the makefile before run nmake to change anything you want.
Nhận xét
Đăng nhận xét