4

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
  • 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
4

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

| improve this answer | |
  • This worked for me with RHEL7. Thanks. – a coder Jan 28 '16 at 15:03
1

Try clear cache:

yum clean packages
yum install mod_ssl
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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