Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wildcard SSL not working #90

Open
ali-master opened this issue Aug 18, 2024 · 5 comments
Open

Wildcard SSL not working #90

ali-master opened this issue Aug 18, 2024 · 5 comments

Comments

@ali-master
Copy link

ali-master commented Aug 18, 2024

Describe the bug
I configured the server, and when it wants to generate wildcard SSL, it returns this error:

caddy-1     | {"level":"error","ts":1723990466.3546808,"logger":"tls.obtain","msg":"could not get certificate from issuer","identifier":"*.mydomain.com","issuer":"acme-v02.api.letsencrypt.org-directory","error":"[*.mydomain.com] solving challenges: waiting for solver certmagic.solverWrapper to be ready: checking DNS propagation of \"_acme-challenge.go.revue.ir\": read udp 127.0.0.1:49927->127.0.0.1:53: read: connection refused (order=https://acme-staging-v02.api.letsencrypt.org/acme/order/159763563/18490867073) (ca=https://acme-staging-v02.api.letsencrypt.org/directory)"}

It tries to connect to the localhost instead of the Server's public IP:

read udp 127.0.0.1:49927->127.0.0.1:53

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@amalshaji
Copy link
Owner

Can you provide more information? Are you running this locally?

@ali-master
Copy link
Author

Yes, I'm running it on a Server with a public IP

@amalshaji
Copy link
Owner

Are ports 80 and 443 open?

@ali-master
Copy link
Author

ali-master commented Aug 19, 2024

Are ports 80 and 443 open?

Yes.

  1. What other potential reasons for the attempt to resolve from the 127.0.0.1 IP instead of the Public Server IP?
  2. Have you considered the possibility of network configuration issues causing the attempt to resolve from the 127.0.0.1 IP?
  3. How would you address someone who argues that the attempt to resolve from the 127.0.0.1 IP does not necessarily indicate that ports 80 and 443 are open?

@amalshaji
Copy link
Owner

What domain are you using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants