Self signed cert for multiple websites

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Keith Smith
Date:  
To: Main PLUG discussion list
Subject: Self signed cert for multiple websites
Hi,

I've configured a VM using VirtualBox and it is running CentOS 6.6.

To create the self signed cert I followed 3 steps:

1) mkdir /etc/httpd/ssl

2) cd /etc/httpd/ssl

3) openssl req -x509 -nodes -days 4000 -newkey rsa:2048 -keyout
/etc/httpd/ssl/name-of-my-test-site.key -out
/etc/httpd/ssl/name-of-my-test-site.crt

I've tested the cert and it works.

Now I want to add more test sites to my VM.

I've done some research and am not finding any information about how to
configure the self signed cert(s) for multiple sites. From reading the
docs it appears that I create one cert for the box and it will be used
by all the sites on my box (test/dev VM). Is this true or do I need to
create a cert specific for each virtual host? If I need to create a
cert for each virtual host, how do I do so?

Thank you so much for all your help!!

--
Keith Smith
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss