I'm trying to install an SSL certificate on a Linux Apache 2.2.3 server. I've been browsing on-line to see how to install the certificate and most say to edit the 'httpd.conf' file. However, there are two of these files and I'm not sure which to edit. Here are the file paths:
/etc/dirsrv/admin-serv/httpd.conf
/etc/httpd/conf/httpd.conf
I tried to edit them adding the extra information to the Virtual Host:
SSLCertificateFile mycert
SSLCertificateKeyFile mykey
When I tried to restart Apache however, it says that SSLCertificateFile is an invalid command.
Note: I also have an nss.conf file, which contains some information about Virtual Hosts.