简体   繁体   English

为 Elastic Beanstalk 环境配置 HTTPS

[英]Configuring HTTPS for Elastic Beanstalk environment

I deployed one web application to EB.我向 EB 部署了一个 web 应用程序。 I used Route 53 to redirect two domains to my application.我使用 Route 53 将两个域重定向到我的应用程序。 On EB environment, it seems it only allows me to add one certificate to port 443 for my load balancer.在 EB 环境中,它似乎只允许我为我的负载均衡器将一个证书添加到端口 443。 Let's say my users only use my domain names to access my web application.假设我的用户仅使用我的域名来访问我的 web 应用程序。 How should I go about creating and adding SSL certificate(s) to secure the connections from those two domains to my application. go 我应该如何创建和添加 SSL 证书以保护从这两个域到我的应用程序的连接。

Yes, you can add.是的,你可以添加。 In the EB concole, you can add only 1 SSL cert.在 EB 控制台中,您只能添加 1 个 SSL 证书。 To add other ones, you have to do it directly in the EC2 console on your load balancer.要添加其他的,您必须直接在负载均衡器上的EC2 控制台中进行。

The load balancer used by your EB env supports multiple certificates .您的 EB env 使用的负载平衡器支持多个证书 So you can add extra SSL certificates to your HTTPS listener.因此,您可以向 HTTPS 侦听器添加额外的 SSL 证书。

Helpful information is below:有用的信息如下:

Alternatively, you can register multiple domains under one certificate.或者,您可以在一个证书下注册多个域。

In the EC2 console, you have an option (marked below) to modify the SSL certificates for your HTTPS listener:在 EC2 控制台中,您可以选择(如下标记)修改 HTTPS 侦听器的 SSL 证书:

在此处输入图像描述

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

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