<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">As long as the "domain" remains the same the same cert should work. Once that changes you will need a new cert.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 4, 2015 at 6:04 AM, Keith Smith <span dir="ltr"><<a href="mailto:techlists@phpcoderusa.com" target="_blank">techlists@phpcoderusa.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I've configured a VM using VirtualBox and it is running CentOS 6.6.<br>
<br>
To create the self signed cert I followed 3 steps:<br>
<br>
1) mkdir /etc/httpd/ssl<br>
<br>
2) cd /etc/httpd/ssl<br>
<br>
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<br>
<br>
I've tested the cert and it works.<br>
<br>
Now I want to add more test sites to my VM.<br>
<br>
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?<br>
<br>
Thank you so much for all your help!!<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Keith Smith<br>
---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">A mouse trap, placed on top of your alarm clock, will prevent you from rolling over and going back to sleep after you hit the snooze button.<br><br>Stephen<br><br></div>
</div>