Al usar este sitio, estás de acuerdo con el política de privacidad.
Aceptar
EnterineEnterineEnterine
  • HOGAR
  • TI PRO
  • TECNOLOGÍA
  • Microsoft
    • Azur
    • Administrador de configuración/SCCM
    • Dpm
    • orquestador
    • Hiper-V
    • Información privilegiada de Microsoft Edge
    • MSI
    • Oficina 365
    • Información privilegiada de la oficina
    • Energía BI
    • Skype
    • Servidor SQL
    • equipos
  • VENTANAS
    • Centro de administración de Windows
    • Cliente de Windows
    • Servidor Windows
  • Lista de recopilación de consultas SCCM
Lectura: Cómo instalar OpenSSL 3 en AlmaLinux 9
Cambiar tamaño de fuenteAutomóvil club británico
EnterineEnterine
Cambiar tamaño de fuenteAutomóvil club británico
  • HOGAR
  • TI PRO
  • TECNOLOGÍA
  • Microsoft
  • VENTANAS
  • Lista de recopilación de consultas SCCM
Buscar
  • HOGAR
  • TI PRO
  • TECNOLOGÍA
  • Microsoft
    • Azur
    • Administrador de configuración/SCCM
    • Dpm
    • orquestador
    • Hiper-V
    • Información privilegiada de Microsoft Edge
    • MSI
    • Oficina 365
    • Información privilegiada de la oficina
    • Energía BI
    • Skype
    • Servidor SQL
    • equipos
  • VENTANAS
    • Centro de administración de Windows
    • Cliente de Windows
    • Servidor Windows
  • Lista de recopilación de consultas SCCM
linux

Cómo instalar OpenSSL 3 en AlmaLinux 9

Publicado: Febrero 4, 2024
3 Lectura mínima
COMPARTIR

Cómo instalar OpenSSL 3 en AlmaLinux 9.

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

Requisitos previos

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

Paso 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

Paso 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'

Paso 3: Install Dependencies

Install the necessary dependencies using the following command:

dnf install perl-core zlib-devel -y

Paso 4: Download and Extract Source File

Download the latest stable version from the 3.0 series, which is also the Long Term Support (LTS) versión, 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

Paso 5: Configure and Build

Navigate to the extracted directory and configure, construir, 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

Paso 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. Guardar y salir del archivo.
  2. Reload the dynamic link:
ldconfig -v

Paso 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. Guardar y salir del archivo.
  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

Paso 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:
ETIQUETADO:AlmaLinuxdnflinuxopensslSSL
Artículo anterior Lista de recopilación de consultas del Administrador de configuración System Center Configuration Manager Technical Preview Update 1611
Artículo siguiente Instale WordPress con Nginx en AlmaLinux 9
Deja un comentario Deja un comentario

Deja una respuesta Cancelar respuesta

Su dirección de correo electrónico no será publicada. Los campos obligatorios están marcados *

Este sitio utiliza Akismet para reducir el spam.. Descubra cómo se procesan los datos de sus comentarios.

Traducción

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
por Transposh - Plugin de traducción para WordPress

Publicaciones populares

Requisitos del sistema para Windows Server 2016
Servidor Windows
Lista de recopilación de consultas del Administrador de configuración
Lista de recopilación de consultas del Administrador de configuración
ConfigMgr
Navegación estructurada/administrada habilitada en páginas modernas en sitios de equipo clásicos
Técnico
SCCM no pudo obtener las ubicaciones de DP como la versión esperada de MP
ConfigMgr

Publicaciones recientes

Instalación y configuración de Fail2ban para protección SSH en Ubuntu 24.04
linux
Habilitación y configuración de FirewallD en AlmaLinux
linux
Creación de usuarios y configuración de claves SSH en AlmaLinux
linux
Cómo restablecer la contraseña en AlmaLinux
linux

© 2023 Enterine

Ir a la versión móvil
Bienvenido de nuevo!

Inicia sesión en tu cuenta

Nombre de usuario o dirección de correo electrónico
Contraseña

Perdiste tu contraseña?