OpenSSL 升級到最新版本
阿新 • • 發佈:2018-10-11
The tex sha256 term ring end include localhost sof OpenSSL下載地址
OpenSSL 1.1.1
現有版本
[root@localhost ~]# openssl version -v
OpenSSL 1.0.2k-fips 26 Jan 2017
升級到新版本
[root@localhost software]# tar xf openssl-1.1.1.tar.gz [root@localhost software]# cd openssl-1.1.1/ [root@localhost openssl-1.1.1]# ./config shared zlib Operating system: x86_64-whatever-linux2 Configuring OpenSSL version 1.1.1 (0x1010100fL) for linux-x86_64 Using os-specific seed configuration Creating configdata.pm Creating Makefile ********************************************************************** *** *** *** If you want to report a building issue, please include the *** *** output from this command: *** *** *** *** perl configdata.pm --dump *** *** *** **********************************************************************
[root@localhost openssl-1.1.1]# make [root@localhost openssl-1.1.1]# make install [root@localhost openssl-1.1.1]# mv /usr/bin/openssl /usr/bin/openssl.bak [root@localhost openssl-1.1.1]# mv /usr/include/openssl /usr/include/openssl.bak [root@localhost openssl-1.1.1]# ln -s /usr/local/include/openssl /usr/include/openssl [root@localhost openssl-1.1.1]# echo "/usr/local/lib64/" >> /etc/ld.so.conf [root@localhost openssl-1.1.1]# ldconfig [root@localhost openssl-1.1.1]# openssl version -a OpenSSL 1.1.1 11 Sep 2018 built on: Tue Oct 2 14:51:06 2018 UTC platform: linux-x86_64 options: bn(64,64) rc4(16x,int) des(int) idea(int) blowfish(ptr) compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPADLOCK_ASM -DPOLY1305_ASM -DZLIB -DNDEBUG OPENSSLDIR: "/usr/local/ssl" ENGINESDIR: "/usr/local/lib64/engines-1.1" Seeding source: os-specific
OpenSSL 升級到最新版本