Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
share|improve this question
    
Are you really using CentOS4, which is about to be desupported? –  cjc Jan 31 '12 at 16:56
1  
Hm, my CentOS 4 has mod_ssl. You may want to check that you have reasonable yum repositories in your /etc/yum.repos.d. –  Bittrance Jan 31 '12 at 17:35
    
Do a yum repolist and post it... –  Nils Jan 31 '12 at 20:56
    
added the repolist –  Anders Feb 6 '12 at 20:42

2 Answers 2

up vote 1 down vote accepted

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

share|improve this answer

Try clear cache:

yum clean packages
yum install mod_ssl
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.