Wednesday, 14 December 2022

How to Install/Reinstall ssl on CentOS 7



Openssl is a base package of ssl binaries and available in default repository CentOS 7 minimal installation. If removed by accident or broken, the package can be installed or reinstalled again using yum. openssl is an essential tool of any Linux distributions to work with various certificates.

This article describes How to Install ssl on CentOS 7.
 
[root@linuxcnf ~]# rpm -qa|grep openssl
…………………….
openssl-1.0.2k-19.el7.x86_64
[root@linuxcnf ~]#
 
Here openssl package is already installed so will reinstall it in this article.
 
Step 1. Openssl Reinstallation: Run the following command to reinstall openssl package:
 
[root@linuxcnf ~]# yum reinstall openssl
Loaded plugins: fastestmirror
……………………..
Installed:
  openssl.x86_64 1:1.0.2k-19.el7
 
Complete!
[root@linuxcnf ~]#
 
Step 2. Validate Installation: Run the following command to verify the installation:
 
[root@linuxcnf ~]# rpm -qa|grep openssl
…………………….
openssl-1.0.2k-19.el7.x86_64
[root@linuxcnf ~]#
 
Done!!! Openssl package installed successfully on CentOS 7.

No comments:

Post a Comment