简体   繁体   English

在Apache AWS中添加多个SSL证书

[英]Adding multiple SSL certificates in apache AWS

Here is the architecture I have an EC2 instance , 2 web domains, Load Balancer. 这是我有一个EC2实例,2个Web域,负载均衡器的体系结构。

the 2 domains are pointing toward the same Load Balancer and the load balancer has an EC2 Instance on it. 2个域指向同一负载均衡器,并且负载均衡器上有一个EC2实例。

I have c1 on the load balancer and in apache config as well. 我在负载均衡器和apache配置中也有c1。

Since both domains are pointing to same server , I want to use different cert on that server , so when I do abc.com or def.com , I should get https certified . 由于两个域都指向同一台服务器,因此我想在该服务器上使用不同的证书,因此当我执行abc.com或def.com时,我应该获得https认证。

You can concatenate the two certificates like this: 您可以将两个证书串联起来:

cat first_crt.crt second_crt.crt > two_certs.crt

And then add it to the listener security settings. 然后将其添加到侦听器安全设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM