Enable https on Apache website

How to install OpenSSL and mod ssl

First need to install the openssl and mod ssl and then will generating the certificate to be used.

Open a terminal prompt and issue the following command

 [root@Centos7 conf.d]# yum install mod_ssl

Loaded plugins: fastestmirror, langpacks

Loading mirror speeds from cached hostfile

 * base: mirror.nbrc.ac.in

 * epel: kartolo.sby.datautama.net.id

 * extras: mirror.nbrc.ac.in

Resolving Dependencies

--> Running transaction check

---> Package mod_ssl.x86_64 1:2.4.6-67.el7.centos.5 will be installed

--> Finished Dependency Resolution

Dependencies Resolved

========================================================================

 Package                     Arch                       Version                                     Repository                   Size

========================================================================

Installing:

 mod_ssl                     x86_64                     1:2.4.6-67.el7.centos.5                     updates                     109 k

Transaction Summary

========================================================================

Install  1 Package

Total download size: 109 k

Installed size: 224 k

Is this ok [y/d/N]: y

Downloading packages:

mod_ssl-2.4.6-67.el7.centos.5.x86_64.rpm                                                                       | 109 kB  00:00:04

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

  Installing : 1:mod_ssl-2.4.6-67.el7.centos.5.x86_64                                                                             1/1

  Verifying  : 1:mod_ssl-2.4.6-67.el7.centos.5.x86_64                                                                             1/1

Installed:

  mod_ssl.x86_64 1:2.4.6-67.el7.centos.5

Complete!

[root@Centos7 conf.d]# yum  install openssl

Loaded plugins: fastestmirror, langpacks

Loading mirror speeds from cached hostfile

 * base: mirror.nbrc.ac.in

 * epel: epel.scopesky.iq

 * updates: mirror.nbrc.ac.in

Package 1:openssl-1.0.2k-8.el7.x86_64 already installed and latest version

Nothing to do

Comments

Popular Posts

Install and configure rsyslog Centralized logging server in CentOS

How to fix postfix/smtp Network is unreachable error

Could not join realm: Necessary packages are not installed: sssd-tools sssd libnss-sss libpam-sss adcli