How can I setup different SSL-Certificates for vhosts on Apache?

后端 未结 6 886
一生所求
一生所求 2021-01-05 03:16

I have a web-server, that serves different domain-names, but has only one IP-address assigned. That works fine with virtual hosts in Apache. Now I want SSL-encrypted connect

6条回答
  •  礼貌的吻别
    2021-01-05 04:02

    AFAIK it's not possible to set up different SSL certificates for name-based virtual hosts using mod_ssl. You can read the detailed reason here. An alternative would be using IP based virtual hosts (Which is probably not possible / not a very satisfying solution) - just insert different SSLCertificateFile directives, or you could try this method using mod_gnutls.

提交回复
热议问题