Original address: 70139714
Operating system: CentOS 7
OpenSSL version:openssl-1.1.0c.tar.gz
OpenSSL is: https://www.openssl.org/source/
1. Place the downloaded compressed package in the root directory/.
2. Unzip under folder, execute the following command:
Tar-xzf openssl-1.1.0c.tar.gz
Get the openssl-1.1.0c folder.
3. Enter the decompression directory and execute the following command:
CD openssl-1.1.0c
4, set the OpenSSL installation path, (--prefix) parameter is to install the directory, execute the following command:
./config--prefix=/usr/local/openssl
5. Execute the order./config-t
6, execute make, compile OpenSSL, compile to wait for a certain time.
7, the implementation of make install, installation of Openssl, installation also takes a certain amount of time.
8. Execute the following command to see the dependencies of OpenSSL.
[Email protected] openssl-1.1.0c]# cd/usr/local
[Email protected] local]# Ldd/usr/local/openssl/bin/openssl
Linux-vdso.so.1 = (0x00007ffcdb7dd000)
libssl.so.1.1 = not Found
libcrypto.so.1.1 = not Found
libdl.so.2 =/lib64/libdl.so.2 (0x00007f54ef8fd000)
libpthread.so.0 =/lib64/libpthread.so.0 (0x00007f54ef6e1000)
libc.so.6 =/lib64/libc.so.6 (0x00007f54ef31e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f54efb16000)
9. To view the absolute path and version of OpenSSL, execute the following command.
[email protected] local]# which OpenSSL
/usr/bin/openssl
[[email protected] local]# OpenSSL version
OpenSSL 1.0.1e-fips 2013
9 Steps to install the OpenSSL source under Linux