应用程序负载平衡器HTTPS Listiner无法正常工作 [英] Application load balancer HTTPS listiner not working as expected

查看:65
本文介绍了应用程序负载平衡器HTTPS Listiner无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经设置了同时侦听HTTP和HTTPS的ALB.但是这里的问题是HTTP资费正在获取适当的响应以及HTTPS所在的位置

这可能是什么原因造成的?

注意:

我已将同一证书添加到另一磅中,并且工作正常.测试我打开了所有流量并仍然得到它.

有人可以帮我吗?

解决方案

将SSL证书添加到ALB时,您应该使用已为其颁发SSL证书的您自己的域./p>

如果您将AWS提供的默认域用于ALB,则会收到此错误,因为SSL证书与AWS域不匹配.另外,您无法控制该域,也无法获取该域的SSL证书.

您可以尝试设置从aws提供的域到alb上的域的重定向操作.这样做的一个示例如下所示:

  • I have set up ALB which is listening on both HTTP and HTTPS. But the issue here is HTTP tariff is fetching a proper response and where as HTTPS is

    What could be causing this?

    Note:

    I have added the same certificate to another lb and it is working fine. to test I opened all the traffic and still getting it.

    Could anyone help me with this?

    解决方案

    When you add SSL certificate to the ALB, you should be using your own domain for which the SSL certificate has been issued.

    If you use AWS provided default domain for the ALB, you will get this error, since the SSL certificate does not match the AWS domain. Also you have no control over that domain and you can't get the SSL certificate for it.

    You can try to setup redirect action from aws provided domain to your domain on the alb. One example of doing this is shown in:

    Such rule would be something like below:

    这篇关于应用程序负载平衡器HTTPS Listiner无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆