Durch die Nutzung dieser Website, Sie stimmen dem zu Datenschutzrichtlinie.
Akzeptieren
EnterEnterEnter
  • HEIM
  • IT-PROFI
  • Technik
  • MICROSOFT
    • Azurblau
    • Configmgr/sccm
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Büro 365
    • Büro-Insider
    • Power Bi
    • Skype
    • SQL-Server
    • Mannschaften
  • FENSTER
    • Windows Admin Center
    • Windows-Client
    • Windows-Server
  • SCCM-Abfragesammlungsliste
Lektüre: How To Install OpenSSL 3 auf Almalinux 9
Schriftart-ResizerAa
EnterEnter
Schriftart-ResizerAa
  • HEIM
  • IT-PROFI
  • Technik
  • MICROSOFT
  • FENSTER
  • SCCM-Abfragesammlungsliste
Suchen
  • HEIM
  • IT-PROFI
  • Technik
  • MICROSOFT
    • Azurblau
    • Configmgr/sccm
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Büro 365
    • Büro-Insider
    • Power Bi
    • Skype
    • SQL-Server
    • Mannschaften
  • FENSTER
    • Windows Admin Center
    • Windows-Client
    • Windows-Server
  • SCCM-Abfragesammlungsliste
Linux

How To Install OpenSSL 3 auf Almalinux 9

Veröffentlicht: Februar 4, 2024
3 Min. Lesezeit
AKTIE

How To Install OpenSSL 3 auf Almalinux 9.

This guide provides comprehensive instructions on installing OpenSSL 3 auf Almalinux 9. The latest stable version of the 3.0 series, OpenSSL 3.0.8, will be installed. This guide will be updated as newer versions are released.

Prerequisites

  • A dedicated server running AlmaLinux 9
  • Root user access or a regular user with sudo privileges

Step 1: Update the Server

Maintaining an up-to-date server is crucial for security reasons. Use the following command to update the server:

dnf update -y

Step 2: Install Development Tools

Development tools and a few dependencies are required for installing OpenSSL. Execute the following command to install them:

dnf group install 'Development Tools'

Step 3: Install Dependencies

Install the necessary dependencies using the following command:

dnf install perl-core zlib-devel -y

Step 4: Download and Extract Source File

Download the latest stable version from the 3.0 series, which is also the Long Term Support (LTS) Version, supported until September 7, 2026. Use the following command to download the source file:

wget https://www.openssl.org/source/openssl-3.0.8.tar.gz

Extract the tar file using the following command:

tar xzvf openssl-3.0.8.tar.gz

Step 5: Configure and Build

Navigate to the extracted directory and configure, bauen, test, and install OpenSSL in the default location /usr/local/ssl:

cd openssl-3.0.8
./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared zlib

Step 6: Configure Shared Libraries

After successfully installing OpenSSL, configure its shared libraries. Perform the following steps:

  1. Navigate to the /etc/ld.so.conf.d directory:
cd /etc/ld.so.conf.d/
  1. Create a configuration file:
vi openssl-3.0.8.conf
  1. Add the following path to the configuration file:
/usr/local/ssl/lib64
  1. Speichern und beenden Sie die Datei.
  2. Reload the dynamic link:
ldconfig -v

Step 7: Configure OpenSSL Binary

Replace the default openssl file with the binary of the newly installed OpenSSL version:

  1. Back up the existing openssl file:
mv /bin/openssl /bin/openssl.backup
  1. Create a new environment file for OpenSSL:
vi /etc/profile.d/openssl.sh
  1. Add the following lines to the file:
OPENSSL_PATH="/usr/local/ssl/bin"
export OPENSSL_PATH
PATH=$PATH:$OPENSSL_PATH
export PATH
  1. Speichern und beenden Sie die Datei.
  2. Make the newly created file executable:
chmod +x /etc/profile.d/openssl.sh
  1. Reload the new OpenSSL environment file and check the default PATH:
source /etc/profile.d/openssl.sh
echo $PATH

Step 8: Verify Installation

Verify that OpenSSL is installed and working correctly:

  1. Check the location of the openssl executable:
which openssl
  1. Print the OpenSSL version:
openssl version -a

The output should be similar to the following:

OpenSSL 3.0.8 7 Feb 2023 (Library: OpenSSL 3.0.8 7 Feb 2023)
built on: Sat Mar  4 18:28:32 2023 UTC
platform: linux-x86_64
options:  bn(64,64)
compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_BUILDING_OPENSSL -DZLIB -DNDEBUG
OPENSSLDIR: "/usr/local/ssl"
ENGINESDIR: "/usr/local/ssl/lib64/engines-3"
MODULESDIR:
GETAGGT:AlmaruxdnfLinuxopensslSSL
Vorheriger Artikel Configuration Manager-Abfragesammlungsliste System Center Configuration Manager Technical Preview Update 1611
Nächster Artikel Installieren Sie WordPress mit Nginx auf AlmaLinux 9
Hinterlassen Sie einen Kommentar Hinterlassen Sie einen Kommentar

Hinterlassen Sie eine Antwort Antwort abbrechen

Ihre E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahren Sie, wie Ihre Kommentardaten verarbeitet werden.

Übersetzung

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
von Transposh - Übersetzungs-Plug-In für WordPress

Beliebte Beiträge

Systemanforderungen für Windows Server 2016
Windows-Server
Configuration Manager-Abfragesammlungsliste
Configuration Manager-Abfragesammlungsliste
ConfigMgr
Strukturierte/verwaltete Navigation auf modernen Seiten in klassischen Teamsites aktiviert
Techn
SCCM konnte DP-Standorte nicht als erwartete Version von MP abrufen
ConfigMgr

Aktuelle Beiträge

Installieren und Konfigurieren von Fail2ban für den SSH-Schutz unter Ubuntu 24.04
Linux
Aktivieren und Konfigurieren von FirewallD auf AlmaLinux
Linux
Benutzererstellung und SSH-Schlüsseleinrichtung in AlmaLinux
Linux
So setzen Sie das Passwort unter AlmaLinux zurück
Linux

© 2023 Enter

Gehen Sie zur mobilen Version
Willkommen zurück!

Melden Sie sich bei Ihrem Konto an

Benutzername oder E-Mail-Adresse
Passwort

Passwort verloren?