Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install openssl in Linux system

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to install openssl in Linux system, Xiaobian thinks it is quite practical, so share it with you as a reference, I hope you can gain something after reading this article.

Openssl is a secure sockets layer cryptograph library that includes major cryptographic algorithms, common keys, certificate encapsulation management functions, and implementation of the ssl protocol. The OpenSSL package can be roughly divided into three main functional parts: the SSL protocol library libssl, the application command tool, and the cryptographic algorithm library libcrypto.

SSL: Secure Socket Layer, a secure socket layer protocol, is divided into two versions, SSLv2 and SSLv3. TSL is a standardized version of secure communication proposed on the basis of SSL 3.0. A protocol primarily created to encrypt transmitted data, enabling communications between user/server applications to be uneavesdropped by attackers, and always authenticating the server and, optionally, the user.

Openssl Installation Tutorial: Operating System: Centos7 Quiet

OpenSSL Version:openssl-1.0.2j.tar.gz

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

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

2. Unzip under folder, command: tar -xzf openssl-1.0.2j.tar.gz, get openssl-1.0.2j folder

3. Enter the decompressed directory: cd openssl-1.0.2j

4. Set Openssl installation,(-prefix ) parameter to the directory to be installed, that is, the files after installation will appear in the directory:

Execute orders: .../ config –prefix=/usr/local/openssl

5. Execute the order./ config -t

6. Execute make, compile Openssl

Here if the following error occurs

make[1]: gcc: Command not found

I found out that CentOS 7 doesn't have GCC compiler.

After ensuring that the system network is unblocked, execute the command yum -y install gcc to install GCC (note that you must forget the smoothness, otherwise you cannot install it)

7, Install Openssl:make install

8. Execute the following command

[root@localhost /]``# cd /usr/local``[root@localhost ``local``]``# ldd /usr/local/openssl/bin/openssl A message like this appears:

9. View the route

...]# which openssl View Version

...]``# openssl version

How to uninstall older versions of OpenSSL

apt-get purge openssl``rm` `-rf ``/etc/ssl` `#Delete configuration file on "Linux system how to install openssl" This article is shared here, I hope the above content can have some help for everyone, so that you can learn more knowledge, if you think the article is good, please share it to let more people see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report