Detailed description of installing the OpenSSL installation graphic method under Linux (CENTOS7)

Source: Internet
Author: User
Tags openssl openssl version

OpenSSL is an open source SSL technology, because I need to use PHP-related features, need to get HTTPS files so I have to install this thing, below I have collated two kinds of OpenSSL installation configuration method.

Installation Environment:

Operating system: CENTOS7 quiet

OpenSSL version:openssl-1.0.2j.tar.gz

The current version of the latest SSL address is http://www.openssl.org/source/openssl-1.0.2j.tar.gz

1. Place the downloaded compressed package in the root directory,

2, under the folder decompression, command: Tar-xzf openssl-1.0.2j.tar.gz, get openssl-1.0.2j folder

3. Enter the extracted directory: CD openssl-1.0.2j

4, set the OpenSSL installation, (--prefix) parameters for the installation of the directory, that is, the installed files will appear in this directory:

Execute command:./config--prefix=/usr/local/openssl

5. Execute the order./config-t

6. Execute make to compile OpenSSL

Here if the following error occurs

MAKE[1]: Gcc:command not found angry

Surf the internet to find out I installed the CentOS7 in the GCC compiler

Ensure the system network unblocked, execute the command yum-y install GCC (note, must forget the smooth, otherwise not installed)

7. Installing Openssl:make Install

8. Execute the following command

?
12 [[email protected] /]# cd /usr/local[[email protected] local]# ldd /usr/local/openssl/bin/openssl

A message similar to the following will appear:

9. View the path

?
1 ...]# which openssl

View version

?
1 ...]# openssl version

Ways to uninstall old versions of OpenSSL

?
12 apt-get purge opensslrm-rf /etc/ssl#删除配置文件

The above is the whole content of this article, I hope that everyone's learning has helped, but also hope that we support the script home.

Articles you may be interested in:
    • Linux under Nginx installation method (Pcre and OpenSSL)
    • Detailed steps for installing OpenSSL, swoole, and other extensions under Linux

Original link: http://blog.csdn.net/ikownyou/article/details/53021686

Detailed description of installing the OpenSSL installation graphic method under Linux (CENTOS7)

Related Article

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.