Installation of Windows under OpenSSL

Source: Internet
Author: User
Tags sha1 install perl

Installing OpenSSL is fast, but be careful to select the corresponding environment configuration and run the corresponding bat file according to the actual configuration .


Win7 64-bit for example:

1. Download the OpenSSL source code from the official website and extract it to the C:\openssl directory.
http://www.openssl.org/source/

Time went by so fast that it went out to the openssl-1.0.2 version,
2. Configuring the Perl Environment
Native Oracle comes with Perl and joins it to path.

Otherwise, the Perl command will not be found when the Ms/*.bat is later
If you don't have one, install Perl.
3. Configuring the CMD window compilation environment
Already installed Visual Studio 2013
Run the following command:
3.1 CD C:\Program Files (x86) \microsoft Visual Studio 12.0\vc\bin\amd64
3.2 Vcvars64.bat


4. Running Configure
CD C:\openssl

C:\oracle\product\11.2.0\dbhome_1\perl\bin\perl Configure vc-win64a

configuring for vc-win64a no-ec_nistp_64_gcc_128 [default] openssl_no_ec_nistp_64_gcc_128 (Skip dir) no-gmp  [Default] Openssl_no_gmp (Skip dir) no-jpake [experimental] Openssl_no_jpake (skip dir) no-krb5 [Krb5-flavor NO T specified] openssl_no_krb5 no-libunbound [experimental] Openssl_no_libunbound (skip dir) no-md2 [defaul T] openssl_no_md2 (skip dir) no-rc5 [default] Openssl_no_rc5 (Skip dir) no-rfc3779 [default] Openss l_no_rfc3779 (Skip dir) no-sctp [default] OPENSSL_NO_SCTP (Skip dir) no-shared [default] No-ssl-tr Ace [Default] Openssl_no_ssl_trace (Skip dir) no-store [experimental] Openssl_no_store (skip dir) no-unit            -test [Default] Openssl_no_unit_test (Skip dir) no-zlib [default] no-zlib-dynamic [default]ismk1mf=1cc =clcflag =-dopenssl_threads-ddso_win32-w3-gs0-gy-nologo-dopenssl_sysname_win32-dwin32_lean_and_m Ean-dl_endIan-dunicode-d_unicode-d_crt_secure_no_deprecate-dopenssl_ia32_sse2-dopenssl_bn_asm_mont-dopenssl_bn_asm_mont5 -dopenssl_bn_asm_gf2m-dsha1_asm-dsha256_asm-dsha512_asm-dmd5_asm-daes_asm-dvpaes_asm-dbsaes_asm-dwhirlpool_asm -dghash_asm-decp_nistz256_asmex_libs =cpuid_obj =x86_64cpuid.obn_asm =bn_asm.o x86_64-mont.o X86_64-mont 5.O x86_64-gf2m.o rsaz_exp.o rsaz-x86_64.o rsaz-avx2.oec_asm =ecp_nistz256.o ecp_nistz256-x86_64.odes_enc =de S_ENC.O fcrypt_b.oaes_enc =aes-x86_64.o vpaes-x86_64.o bsaes-x86_64.o aesni-x86_64.o aesni-sha1-x86_64.o aesni-sha25 6-X86_64.O aesni-mb-x86_64.obf_enc =bf_enc.ocast_enc =c_enc.orc4_enc =rc4-x86_64.o Rc4-md5-x86_64.oRC5_E NC =rc5_enc.omd5_obj_asm =md5-x86_64.osha1_obj_asm =sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o sha1-mb-x86_64. o sha256-mb-x86_64.ormd160_obj_asm=cmll_enc =cmll-x86_64.o cmll_misc.omodes_obj =ghash-x86_64.o aesni-gcm-x86_64. Oengines_obj =processor =rAnlib =truearflags =perl =perlsixty_four_bit modedes_int usedrc4_chunk is unsigned long Longconfigur Ed for vc-win64a.

5. Generate a compilation script. Mak
C:\openssl\ms\do_win64a.bat
Dir C:\openssl\ms\ntdll.mak


6. Run the compilation
Nmake-f C:\openssl\ms\ntdll.mak


After compiling, all executable files and DLLs are stored in the Out32dll directory.

The following commands can be checked:
dir C:\openssl\out32dll\openssl.exe



MAIL: [Email protected]

blog:http:/blog.csdn/net/xcl_168



Installation of Windows under OpenSSL

Related Article

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.