We have RHEL 5.X in our setup.
1) I have an important query that would a server require only 1 SSL certificate or is it that there have to be different SSL certificates for the URL’s hosted on the server? Say for a server www.example.com, there could be different URL’s like www.example1.com & www.example2.com configured using the concept of named based virtual hosting where the HTTP configuration file /etc/httpd/conf/httpd.conf would have the required entries.
So, would 1 SSL certificate be sufficient for the server or multiple SSL certificates for www.example.com, www.example1.com & www.example2.com would be required?
2) I placed 1 file into /etc/www/html/index.html containing “Hello world”. There is also a default localhost.crt file in /etc/pki/tls/certs which comes with a installation of mod_ssl package. The access to http://localhost & https://localhost gives “Hello world”. I moved the localhost.crt to /tmp folder but still the access to http://localhost & https://localhost gives “Hello world”.
Please help with the above 2 queries.
Requesting a reply to my query.
Regards