Install latest OpenSSL 3.0 on Linux from Source code - Maggi Minutes (2024)

Install latest OpenSSL 3.0 on Linux from Source code - Maggi Minutes (1)

3 Min Read

0

7018

OpenSSL is an open-source implementation of the SSL (Secure Sockets Layer) and TLS (Transport Layer Security) protocols. It provides a powerful set of cryptographic functions that are used for securing data in transit, such as web transactions and email communication. OpenSSL is widely used by system administrators and software developers, and it is available on most operating systems. In this blog, we will explore how to install OpenSSL on Linux.

OpenSSL Architecture :

OpenSSL is a library that provides various cryptographic functions, such as symmetric and asymmetric encryption, digital signature generation and verification, and secure random number generation. It is written in C programming language and can be used in C, C++, and other programming languages.

The OpenSSL library is divided into several components, including the cryptographic algorithms, the SSL and TLS protocol implementation, and the X.509 certificate handling. Each component can be used independently or in combination with others.

OpenSSL supports a wide range of cryptographic algorithms, including symmetric key algorithms such as AES, DES, and 3DES, and asymmetric key algorithms such as RSA, DSA, and ECDSA. It also supports various hash algorithms such as SHA-1, SHA-2, and MD5.

SSL and TLS Protocols

OpenSSL supports both SSL and TLS protocols. SSL is the predecessor of TLS and is still in use, although it is less secure than TLS. TLS is the current standard for secure communication over the internet.

TLS provides several key features, including confidentiality, integrity, and authenticity. Confidentiality ensures that data is protected from eavesdropping, integrity ensures that the data has not been tampered with, and authenticity ensures that the data is coming from a trusted source.

Certificate Handling

OpenSSL supports the X.509 certificate format, which is widely used for public key infrastructure (PKI). A certificate contains a public key and other information, such as the certificate holder’s name and the certificate’s expiration date. The certificate is digitally signed by a trusted certificate authority (CA) to ensure its authenticity.

OpenSSL can generate self-signed certificates, which are useful for testing and development purposes. It can also be used to sign and verify certificates using a trusted CA.

If you want to create Self-Signed Certificates with OpenSSL. Click here

OpenSSL Versions, Release dates and EOL :

Here I am listing OpenSSL versions, released dates and EOL so you will get idea to install most updated version for your Linux server.

VersionsReleased DatesEOL
3.0 (LTS)07 Sep 202107 Sep 2026
1.1.1 (LTS)11 Sep 201811 Sep 2023
1.1.025 Aug 201611 Sep 2019
1.0.2 (LTS)22 Jan 201531 Dec 2019

Steps to install latest OpenSSL on Linux server

Latest OpenSSL doesn’t come with installation package. The best way to install OpenSSL is to download binaries fromOpenSSL official websites.This tutorial will help you to install latest OpenSSL on old Linux systems likeCentOS 7, RHEL 7, Oracle Linux 7, Ubuntu 20.04 or Debian 10.

Install latest OpenSSL 3.0 on Linux from Source code - Maggi Minutes (2)

Prerequisites:

  • sudo privileges.
  • Stable internet connection.

First check server OS version then start installation as per OS version:

# egrep '^(VERSION|NAME)=' /etc/os-release

Check installed OpenSSL version:

Before installing OpenSSL, check already installed OpenSSL version on system:

# openssl version

Install the prerequisite packages:

For RHEL, CentOS and Oracle Linux 7 server# yum group install 'Development Tools' -y# yum install perl-core perl-IPC-Cmd zlib-devel wget gzip -yFor RHEL, CentOS, Oracle Linux or Rocky Linux 8 and 9 server# dnf group install 'Development Tools' -y# dnf install perl-core perl-IPC-Cmd zlib-devel wget gzip -yFor Ubuntu and Debian server# apt update -y# apt install build-essential zlib1g-dev wget gzip -y

Download OpenSSL Latest version:

# cd /tmp && wget https://www.openssl.org/source/openssl-3.0.10.tar.gz

Extract downloadedtar file and delete tar file:

# tar -xzvf openssl-*.tar.gz && rm -rf openssl-*.tar.gz && cd openssl-*

Compile OpenSSL from source code:

# ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared zlib

Note: Wait a while to compete the OpenSSL compilation process.

Now Install the OpenSSL:

# make && make install

We successfully installed Latest OpenSSL 3.0.

Lets Configure OpenSSL Link Libraries:

# cat <<'EOT' | sudo tee /etc/ld.so.conf.d/openssl-3.0.10.conf/usr/local/ssl/lib64EOT# ldconfig -v

Configure installed OpenSSL to default OpenSSL:

# mv /usr/bin/openssl /usr/bin/openssl.bak && mv /usr/bin/c_rehash /usr/bin/c_rehash.bak# update-alternatives --install /usr/bin/openssl openssl /usr/local/ssl/bin/openssl 1# update-alternatives --install /usr/bin/c_rehash c_rehash /usr/local/ssl/bin/c_rehash 1

Verify installed OpenSSL version:

# openssl version

That’s it. We installed the latest version of OpenSSL on Linux system.

Conclusion

OpenSSL is a powerful and versatile tool that can be used to secure communications over the internet. We installed the latest version of OpenSSL 3.0 on CentOS, RHEL, Oracle Linux, Ubuntu and Debian. Now you can use it to generate keys, certificates, and other cryptographic artifacts, as well as encrypt and decrypt files.

Categorized in:

AdministrationInstallationLinux Administration

Tagged in:

CentOS, Installation, Linux, OpenSSL, Setup, Ubuntu

Install latest OpenSSL 3.0 on Linux from Source code - Maggi Minutes (2024)
Top Articles
Delta vs. Blockfolio vs. Kubera
A Guide To The Effective Financial Modeling Techniques In 2024
Gamevault Agent
Www.politicser.com Pepperboy News
Ou Class Nav
Mylife Cvs Login
Buckaroo Blog
shopping.drugsourceinc.com/imperial | Imperial Health TX AZ
Craigslist/Phx
6001 Canadian Ct Orlando Fl
Simon Montefiore artikelen kopen? Alle artikelen online
House Party 2023 Showtimes Near Marcus North Shore Cinema
N2O4 Lewis Structure & Characteristics (13 Complete Facts)
Classic | Cyclone RakeAmerica's #1 Lawn and Leaf Vacuum
Craigslist Mt Pleasant Sc
Noaa Ilx
Evil Dead Rise - Everything You Need To Know
Iroquois Amphitheater Louisville Ky Seating Chart
Barber Gym Quantico Hours
Football - 2024/2025 Women’s Super League: Preview, schedule and how to watch
How many days until 12 December - Calendarr
Teen Vogue Video Series
8005607994
Craigslist Pennsylvania Poconos
Panola County Busted Newspaper
Chamberlain College of Nursing | Tuition & Acceptance Rates 2024
Weathervane Broken Monorail
Bra Size Calculator & Conversion Chart: Measure Bust & Convert Sizes
Harrison 911 Cad Log
Tomb Of The Mask Unblocked Games World
Rek Funerals
lol Did he score on me ?
UPC Code Lookup: Free UPC Code Lookup With Major Retailers
Grandstand 13 Fenway
Sports Clips Flowood Ms
RFK Jr., in Glendale, says he's under investigation for 'collecting a whale specimen'
#scandalous stars | astrognossienne
Heavenly Delusion Gif
Watchseries To New Domain
Captain Billy's Whiz Bang, Vol 1, No. 11, August, 1920&#10;America's Magazine of Wit, Humor and Filosophy
Dr Adj Redist Cadv Prin Amex Charge
Sam's Club Gas Prices Deptford Nj
About My Father Showtimes Near Amc Rockford 16
Firestone Batteries Prices
Janaki Kalaganaledu Serial Today Episode Written Update
Atom Tickets – Buy Movie Tickets, Invite Friends, Skip Lines
Saline Inmate Roster
Login
Mynord
Kjccc Sports
Benjamin Franklin - Printer, Junto, Experiments on Electricity
Latest Posts
Article information

Author: Sen. Ignacio Ratke

Last Updated:

Views: 5608

Rating: 4.6 / 5 (76 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Sen. Ignacio Ratke

Birthday: 1999-05-27

Address: Apt. 171 8116 Bailey Via, Roberthaven, GA 58289

Phone: +2585395768220

Job: Lead Liaison

Hobby: Lockpicking, LARPing, Lego building, Lapidary, Macrame, Book restoration, Bodybuilding

Introduction: My name is Sen. Ignacio Ratke, I am a adventurous, zealous, outstanding, agreeable, precious, excited, gifted person who loves writing and wants to share my knowledge and understanding with you.