Centos – Installing mod_ssl on CentOS

centosmod-sslyum

I am trying to install mod_ssl on my server with:

yum install mod_ssl

All i get in response is:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centosv4-msync-dvd.centos.org
 * extras: centosq4-msync-dvd.centos.org
 * updates: centosv4.centos.org
Setting up Install Process
No package mod_ssl available.
Error: Nothing to do

I am trying to install a self signed SSL-certificate, and I realized I was missing mod_ssl when I couldn't find the ssl.conf file.

How can I install mod_ssl?

Repolist

repo id                       repo name                                status
base                          CentOS-6 - Base                          5,932+362
extras                        CentOS-6 - Extras                                4
updates                       CentOS-6 - Updates                          261+65
repolist: 6,197

Best Answer

and also try

yum search mod_ssl 

then

yum install mod_ssl.XX <- as listed from yum search output.

if you can't find any of the packages try and install source forge repo, it has thousands of packages and mod_ssl is there