Ssl – Is it possible to add mod_ssl to an existing Apache server with yum

apache-2.2sslyum

I have an existing Apache 2.2.3 server running on Red Hat Enterprise in production. Unfortunately, I now have a need to use https, and mod_ssl is not installed. I was hoping I could do this in yum and avoid recompiling Apache. But when I do:

yum install mod_ssl

I get a dependency error:

Missing Dependency: httpd = 2.2.3-22.el5_3.1 is needed by package 1:mod_ssl-2.2.3-22.el5_3.1.i386 (rhel-i386-server-5)

I guess I'm not sure how to get Apache recognized with that version number. "yum upgrade httpd" finds nothing to upgrade. "yum clean all" doesn't help. Anyone have any ideas?

If I am stuck with recompiling httpd, what's the best way to make sure I don't hose the server in the process?

Best Answer

Well, I couldn't figure it out. We went ahead and recompiled Apache with mod_ssl enabled and all is well now.