9 Steps to install the OpenSSL source under Linux

Source: Internet
Author: User
Tags openssl version

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

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.