gpt4 book ai didi

amazon-web-services - 通配符子域@AWS route53 的 SSL 证书错误别名为 ELB

转载 作者:太空宇宙 更新时间:2023-11-03 13:21:46 26 4
gpt4 key购买 nike

设置

链接到 ELB 的 Route53 记录 (*.testing.domain.com)(使用 Amazon Certificate Manger 为 *.domain.comdomain.com)

ELB 的目标正在运行 nginx,它将传入请求proxy_pass发送到运行在端口 80xx 上的 (django) 服务器(例如:127.0.0.1:8099 ).

注意:nginx 服务器在端口 80 和 443 上监听请求ELB 的目标在端口 80 和 443 上注册

问题:

我可以访问以下内容:

  • http://domain.com
  • https://domain.com
  • http://any.subdomain.domain.com

我想知道为什么在尝试访问 https://any.subdomain.domain 时收到 NET::ERR_CERT_COMMON_NAME_INVALID。 com

谢谢

最佳答案

您需要为 *.subdomain.domain.com 申请另一个证书

https://docs.aws.amazon.com/acm/latest/userguide/acm-certificate.html

*.example.com can protect login.example.com and test.example.com, but it cannot protect test.login.example.com. Also note that *.example.com protects only the subdomains of example.com, it does not protect the bare or apex domain (example.com). However, you can request a certificate that protects a bare or apex domain and its subdomains by specifying multiple domain names in your request.

关于amazon-web-services - 通配符子域@AWS route53 的 SSL 证书错误别名为 ELB,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49552829/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com