我使用的是Windows 10 Pro x64, OpenSSL的,0.9.8k_X64
我跑命令
openssl version -a
我收到了结果 openssl版本-a
OpenSSL 0.9.8k 25 Mar 2009
built on: Thu Jul 23 09:35:27 2009
platform: VC-WIN64A
options: bn(64,64) md2(int) rc4(ptr,int) des(idx,cisc,4,long) idea(int) blowfish(idx)
compiler: cl /MD /Ox /W3 /Gs0 /GF /Gy /nologo -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -DOPENSSL_SYSNAME_WIN32 -DOPENSSL_SYSNAME_WINNT -DUNICODE -D_UNICODE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DOPENSSL_USE_APPLINK -I. /Fdout32dll -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_SEED -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_CMS -DOPENSSL_NO_JPAKE -DOPENSSL_NO_CAPIENG -DOPENSSL_NO_KRB5 -DOPENSSL_NO_DYNAMIC_ENGINE
OPENSSLDIR: "c:openssl/ssl"
我专注于 OPENSSLDIR:“c:openssl / ssl”
我试着设定 OPENSSLDIR 在文件中 openssl.cnf
#
# OpenSSL example configuration file.
# This is mostly being used for generation of certificate requests.
#
# This definition stops the following lines choking if HOME isn't
# defined.
# HOME = .
HOME = #
# OpenSSL example configuration file.
# This is mostly being used for generation of certificate requests.
#
# This definition stops the following lines choking if HOME isn't
# defined.
# HOME = .
HOME = C:/Users/vy_pc/Desktop/ssl_vy/WinOpenSSL/openssl-0.9.8k_X64
RANDFILE = $ENV::HOME/.rnd
(全部内容的一部分) 但是我再次运行命令
openssl version -a
的价值 OPENSSLDIR 仍然像以前一样。
请解释一下 OPENSSLDIR
,如何使用,如何在Windows操作系统上配置?