我想在同一个VPS上托pipe多个域,并且需要为这些域configurationSSL证书。 服务器是Ubuntu 12.04。 所有域都有自己的证书。
我需要有关default-ssl中的多个域configuration的帮助。
您应该在Apache中创build多个虚拟主机,并为其中的每一个分配SSL证书。
例:
NameVirtualHost *:443 <VirtualHost *:443> ServerName some.domain.com # SSL options, other options, and stuff defined here. </VirtualHost> <VirtualHost *:443> ServerName some.domain2.com # SSL options, other options, and stuff defined here. </VirtualHost>
对于SSL选项,请参考: http : //httpd.apache.org/docs/current/ssl/ssl_howto.html
确保将NameVirtualHost添加到您的configuration中。