Wildcard certificate not working for sub domain - how to debug?

0

Hi!

I have an Amazon Issued certificate in the certificate manager, with "Status=Issued". It has two domains, like apps.example.com and *.apps.example.com. Both have status Success. There are two DNS entries in Cloudflare, one for apps.example.com, and one for my-x.apps.example.com, both pointing to the same Cloudfront The cloudfront uses the certificate mentioned above, it even links to it.

I can access apps.example.com over SSL, but not my-x.apps.example.com.

* Connected to my-x.apps.example.com (18.xyz.xyz.xyz) port 443 (#0)
* ALPN: offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to my-x.apps.example.com:443
* Closing connection 0

This is what AWS Certificate Manager shows: Enter image description here

This is what Cloudfront shows Enter image description here

Any idea on how to debug this?!? Any reason for this not to work?

已提问 8 个月前199 查看次数
1 回答
2
已接受的回答

Hello.

Looking at the image, it appears that "my-x.apps.example.com" is not linked to CloudFront.
Please also try adding "my-x.apps.example.com" in the CloudFront distribution settings.
https://repost.aws/knowledge-center/multiple-domains-https-cloudfront

profile picture
专家
已回答 8 个月前
profile picture
专家
已审核 18 天前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则