SSL certificate installation problems [closed]

I have been following a set of steps provided here comodo

Step 2 advises me to place my .crt and .bundle files inside directory etc/ssl/

In my server with FTP it shows I have a empty etc/ directory, I do not have any ssl/ subdir inside etc/

Step 3 asks me to find my ssl .conf file which apparently exists as one of the following filenames.

/etc/httpd/conf/httpd.conf 
/etc/apache2/apache2.conf 
httpd-ssl.conf
ssl.conf

Using FTP I cannot find any of these files.

My Specifics

Linux 2.6.18-308.11.1.el5 
Red Hat 4.1.2-52
Apache/2.2.22
Centos 5.6 64-bit

UPDATE

I have been advised on another forum to create a folder tree inside etc/ which would look like etc/ssl/ssl.crt/ and then place my server.file, **server.bundle and server.crt files inside ssl.crt/ – I have done this with FTP.

However I am still stuck with Step 3

UPDATE

Running command with SSH

yum install mod_ssl openssl

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.i3d.net
 * extras: centos.mirror1.spango.com
 * updates: centos.mirror1.spango.com
Excluding Packages in global exclude list 
Finished
Setting up Install Process
No package mod_ssl available.
Package openssl-0.9.8e-27.el5_10.3.x86_64 already installed and latest version
Package openssl-0.9.8e-27.el5_10.3.i686 already installed and latest version

Answer

In my server I have a empty etc/, I do not have any ssl/ subdir inside etc/ – Should I create one?

I hope your /etc isn’t empty, that would be bad. On EL, the normal location would be /etc/pki/tls/certs for public and /etc/pki/tls/private for private keys.

Regarding the top 2 files, they re out of the question as the directories themselves don’t even exist. As for the bottom two, none of these exist either.

Where’s your config, then? You should know this, but, run apachectl -S to find out.

Attribution
Source : Link , Question Author : cecilli0n , Answer Author : Shane Madden

Leave a Comment