upgrade OpenSSL in MacOS? ~ Brew instal OpenSSLalways found in usage, OpenSSL does not really upgrade found in the/usr/local/cellar/openssl/directory that the latest version? ~ ll /usr/local/cellar/openssl/total 0drwxr-xr-x xxx Admin 374 4 15:47 1.0.2gdrwxr-xr-x XXX admin 374 5 17:03 1.0.2hdrwxr-xr-x one XXX admin 374 5 17 17:39 1.0.2h_1? ~ But which OpenSSL is shown below. /usr/bin/openssl is not using the newly installed version so simply create a soft connection and follow the habit of creating a soft connection in/usr/local/bin/? ~ ln-s/usr/local/cellar/openssl/ 1.0.2h_1/bin/openssl/usr/local/bin/openssl last look at the version, normal.? ~? ~ OpenSSL version-aopenssl 1.0.2h 3 May 2016built on:reproducible build, date unspecifiedplatform:darwin64-x86_64-ccoptions: bn (64,64) RC4 (p Tr,int) des (idx,cisc,16,int) idea (int) blowfish (IDX) compiler:clang-i.-I.. -I.. /include -fpic-fno-common-dopenssl_pic-dzlib_shared-dzlib-dopenssl_threads-d_reentrant-ddso_dlfcn-dhave_ Dlfcn_h-arch x86_64-o3-dl_endian-wall-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_asmopenssldir: "/usr/local/etc/openssl" The wrong version is this, it is not used by default. Let him keep it for the time being.? ~? ~/usr/bin/openssl version-aopenssl 0.9.8zh Jan 2016built on:may x86_64-llvmoptions: bn (64,64) md2 (int) RC4 (Ptr,char) des (idx,cisc,16,int) blowfish (idx) Compiler:-arch x86_64- Fmessage-length=0-pipe-wno-trigraphs-fpascal-strings-fasm-blocks-o3-d_reentrant-ddso_dlfcn-dhave_dlfcn_h-dl_ Endian-dmd32_reg_t=int-dopenssl_no_idea-dopenssl_pic-dopenssl_threads-dzlib-mmacosx-version-min=10.6openssldir : "/system/library/openssl"? ~
Upgrade OpenSSL in MacOS