简体   繁体   English

带有 Elastic Beanstalk 的 AWS 证书管理器(ACM 证书)

[英]AWS Certificate Manager (ACM Certificate) with Elastic Beanstalk

I have tried the following solutions but no one of them solved my problem:我尝试了以下解决方案,但没有一个解决了我的问题:

  1. Using AWS Certificate Manager (ACM Certificate) with Elastic Beanstalk 将 AWS Certificate Manager(ACM 证书)与 Elastic Beanstalk 结合使用

  2. Set load balancer listener ssl certificate - can not give a link because I don't have 10 reputation设置负载均衡器侦听器 ssl 证书 - 无法提供链接,因为我没有 10 声望

  3. Configuring Your Elastic Beanstalk Environment's Load Balancer to Terminate HTTPS - can not give a link because I don't have 10 reputation配置您的 Elastic Beanstalk 环境的负载均衡器以终止 HTTPS - 无法提供链接,因为我没有 10 信誉


I have issued SSL Certificate in the ACM and I have configured it to work correctly for my cloundfront.我已在 ACM 中颁发了 SSL 证书,并且已将其配置为可以在我的 cloundfront 中正常工作。 But when I try to add the same certificate to my loadbalancer I get: "Updating load balancer named: ... failed Reason: Server Certificate not found for the key: arn:aws:acm:us-east-1:..."但是,当我尝试将相同的证书添加到我的负载均衡器时,我得到: “正在更新名为:...失败的负载均衡器原因:找不到密钥的服务器证书:arn:aws:acm:us-east-1:... ”

I have also tried to add the SSL Certificate manually to the load balancer but there I'm not able to click on "Choose an existing certificate from AWS Identity and Access Management (IAM)"我还尝试将 SSL 证书手动添加到负载均衡器,但无法单击“从 AWS Identity and Access Management (IAM) 中选择现有证书”

  1. Download the certificate from ACM.从 ACM 下载证书。
    1. Via AWS API通过AWS API
    2. Via CLI通过命令行界面
    3. Reccommended uploading your own cert to IAM .建议将您自己的证书上传到 IAM
      • ACM is only available in Virgina, which beta-tests many AWS Services. ACM 仅在 Virgina 中可用,它对许多 AWS 服务进行了 Beta 测试。 For this reason, Virgina often has numerous performance and stability issues.出于这个原因,Virgina 经常有许多性能和稳定性问题。
  2. Add the Cert to IAM将证书添加到 IAM
    1. Get the AWS CLI Installed and set-up. 安装并设置 AWS CLI。
    2. Add the cert to IAM via the CLI. 通过 CLI 将证书添加到 IAM。
  3. Add it to your EB Load Balancer将其添加到您的 EB 负载均衡器
    1. Elastic Beanstalk > Application > Environment Elastic Beanstalk > 应用程序 > 环境
    2. Configuration > Load Balancing > config (gear-icon)配置 > 负载均衡 > 配置(齿轮图标)
    3. Set the SSL-Cert设置 SSL 证书
    4. Apply.申请。
    5. Make sure your public domain is pointed to your environment-domain确保您的公共域指向您的环境域
      • yourdomain CNAME environment-name.elasticbeanstalk.com yourdomain CNAME environment-name.elasticbeanstalk.com

Ok I have found the solution to my problem.好的,我已经找到了解决我的问题的方法。 The Amazon Certificate Manager (ACM) is available only for USA East N.Virginia region but my elastic beanstalk was in USA West Oregon and that's why I was not able to see my SSL Certificate from the ACM in the loadbalancer. Amazon 证书管理器 (ACM) 仅适用于美国弗吉尼亚州东部地区,但我的弹性 beanstalk 位于美国西俄勒冈州,这就是我无法在负载均衡器中从 ACM 看到我的 SSL 证书的原因。 When I created a new elastic beanstalk in the same region as the Amazon Certificate Manager (N.Virginia) which created a load balancer in the N.Virginia too then I was able to create HTTPS Listener for the load balancer and to assign the SSL Certificate to it.当我在与 Amazon Certificate Manager (N.Virginia) 相同的区域中创建了一个新的弹性 beanstalk 时,它也在 N.Virginia 中创建了一个负载均衡器,然后我能够为负载均衡器创建 HTTPS 侦听器并分配 SSL 证书到它。

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

相关问题 将AWS Certificate Manager(ACM证书)与Elastic Beanstalk配合使用 - Using AWS Certificate Manager (ACM Certificate) with Elastic Beanstalk 在ACM中为Elastic Beanstalk后端申请证书 - Request a certificate in ACM for Elastic Beanstalk backend AWS Route 53 + Elastic Beanstalk +证书管理器:通配符(*)不起作用 - AWS Route 53 + Elastic Beanstalk + Certificate Manager: Wildcard (*) not working AWS ACM(Certificate Manager) 优先顺序 - AWS ACM(Certificate Manager) priority sequence 带有适用于Elastic Beanstalk ELB的AWS Certificate Manager的AWS APi Gatway客户端证书 - AWS APi Gatway client side certificate with AWS Certificate manager for Elastic Beanstalk ELB 如何配置弹性beantalk以将https和ACM证书一起使用? - How do I configure elastic beanstalk to use https with an ACM certificate? AWS ACM 证书未验证 - AWS ACM certificate not validating 在AWS Elastic Beanstalk上设置SSL证书 - Setup SSL certificate on AWS Elastic Beanstalk 在AWS Elastic Beanstalk上安装通配符SSL证书 - Install Wildcard SSL Certificate on AWS Elastic Beanstalk AWS Certificate Manager 证书对 AWS Beanstalk 从控制台不可见 - AWS Certificate Manager Certificate is not visible to AWS Beanstalk from Console
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM