Self signed cert for multiple websites
Stephen Partington
cryptworks at gmail.com
Sat Jul 4 07:53:35 MST 2015
As long as the "domain" remains the same the same cert should work. Once
that changes you will need a new cert.
On Sat, Jul 4, 2015 at 6:04 AM, Keith Smith <techlists at phpcoderusa.com>
wrote:
> 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 - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
--
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.
Stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20150704/8448a14b/attachment.html>
More information about the PLUG-discuss
mailing list