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?

feita há 8 meses201 visualizações
1 Resposta
2
Resposta aceita

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
ESPECIALISTA
respondido há 8 meses
profile picture
ESPECIALISTA
avaliado há 19 dias

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas