Installing mod_ssl for Apache on CentOS (for SSL Certificates)


Error when trying to install SSL certificates in Apache:

[root@host conf.d]# service httpd configtest
httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 12 of /etc/httpd/conf.d/ssl.conf: Cannot load /etc/httpd/modules/mod_ssl.so into server: /etc/httpd/modules/mod_ssl.so: cannot open shared object file: No such file or directory

 

Installing mod_ssl for Apache on CentOS:

  1. yum install mod_ssl
  2. service httpd configtest
  3. service httpd reload

 

References:

http://www.electrictoolbox.com/mod-ssl-apache-centos-5/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

%d bloggers like this: