I have recently started serving our websites from linux machines and now would like to move our ecommerce machines onto the server. These require SSL certificates. I assume that I need to create a key to give to the SSL certificate and then link in some how to the virtualhosts file. Does anyone have any idea how to do this?
You use the following options Code: SSLCertificateFile=the_certificate_file SSLCertificateKeyFile=the_key_file Note: that has to be under a vhost running on port 443, those are just the minimal options there are lots more options. If you are running a Redhat based distro take a look at /etc/httpd/conf.d/ssl.conf
Thanks, I have this now. I need to assign a range of Ipaddresses to this machine don't I? I can't have more that one site using the same IP when using SSL. How do I assign More IPaddresses to the machine? How do I then assign the new ipaddresses to the apache vhosts file? thanks for your help
I think i have to change the virtualhost from <VirtualHost *:80> to <VirtualHost xxx.xxx.xxx.xxx:443>. Does look about right?
You can assign multiple IP's using IP address aliasing. You then create the virtualhosts each binding to its own address.