EB url renders ssl certificate unsafe

0

I have posted this issue in SO here: https://stackoverflow.com/questions/69207726/aws-eb-significant-issues-getting-ssl-to-work-on-re-terminated-https-behind-ap/69219036#69219036

I will replicate the core information here:

  1. I have:
  • a parent domain outside AWS
  • a subdomain inside AWS
  • hosted zones created for the parent domain
  • NS records added to parent domain host, as subdomain delegation
  • Alias records in my hosted zone which points to my eb environment. I've also tried pointing this to the application load balancer.
  • An SSL from ACM on the load balancer

The issue is that the certificate is rendered unsafe by the browser because the eb environment is showing up in the url instead of the registered domain. I get the warning as follows:

"
Websites prove their identity via certificates. Firefox does not trust this site because it uses a certificate that is not valid for <redacted>.elasticbeanstalk.com. The certificate is only valid for the following names: <redacted>, <redacted>

Error code: SSL_ERROR_BAD_CERT_DOMAIN

View Certificate"

I followed this tutorial: https://www.youtube.com/watch?v=BFh6zb43miE

Why does this not work as it should?

질문됨 3년 전283회 조회
1개 답변
0

The answer is because I'm an idiot and had a listener routing through to the environment manually.

답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠