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-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

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

This article mainly introduces how to install OpenSSL in Linux system, which is very detailed and has certain reference value. Friends who are interested must finish it!

Introduction to OpenSSL: openssl is a secure socket layer password library, including major cryptographic algorithms, common keys, certificate encapsulation management functions and the implementation of the ssl protocol

The whole software package of OpenSSL can be divided into three main functional parts: SSL protocol library libssl, application command tool and cryptographic algorithm library libcrypto.

Method 1, compile and install OpenSSL preparation: 4.17.0-kali1-amd64

Update source: apt-get update (you can view the kali Linux update source if you need to switch the update source) upgrade source: apt-get upgrade update system: apt-get dist-upgrade

1.2.View OpenSSL version 4.17 kali system has been installed openssl 1.1.0h

Openssl version-a

1.3. Install the basic compilation environment

Apt-get install build-essential1.4, compile and install the zlib library

Wget http://zlib.net/zlib-1.2.5.tar.gz / / you can go to http://www.zlib.net/ to view and download the latest zlib library tar-zxf zlib-1.2.5.tar.gz cd zlib-1.2.5/. / configure-- prefix=/usr/local make & & make install1.5, uninstall the old version of OpenSSL

Apt-get purge openssl rm-rf / etc/ssl # delete configuration file 1.6, compile and install OpenSSL (prefix is the installation directory, openssldir is the configuration file directory, and it is recommended to install it twice. Shard is used to generate dynamic link libraries)

Wget ftp://ftp.openssl.org/source/openss-1.0.0c.tar.gz tar-zxv openssl-1.0.0c.tar.gz cd openssl-1.0.0c/. / config-- prefix=/usr/local-- openssldir=/usr/local/ssl make & & make install. / config shared-- prefix=/usr/local-- openssldir=/usr/local/ssl make clean make & & make install method 2: install the OpenSSL library and download the latest version from the official website Official website: http://www.openssl.org download page: http://www.openssl.org/source/ choose a new version to download http://www.openssl.org/source/openssl-1.1.0 or choose an appropriate version For example, what I need to use here is

Openssl-1.0.2p tar-zxv openssl-1.0.2p.tar.gz cd openssl-1.0.2p/. / config make & & make install. / config shared make clean make & & make install is all the contents of the article "how to install OpenSSL in a Linux system". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

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