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

Unable to obtain ACME certificate for domains #26

Open
StanislasSiweck opened this issue Jul 17, 2022 · 8 comments
Open

Unable to obtain ACME certificate for domains #26

StanislasSiweck opened this issue Jul 17, 2022 · 8 comments

Comments

@StanislasSiweck
Copy link

Hello,
I have tried several methods to get my certifications back but none of them work, I am here to ask for help or to give me a direction. I am dear OVH for my domain, I changed the email in _base/data/traefik/traefik.toml by my email but it would say who to look for my certificate on my domain?
Thank you for your help.
image

@EdyTheCow
Copy link
Owner

The email in treafik.toml has nothing to do with the setup. It's just a requirement in case if they need to send an email. But it doesn't affect the generation or the process of obtaining the certificate.

The error message you provided could be a cause of many different reasons. Could you provide your docker compose file?

@StanislasSiweck
Copy link
Author

Treafik:
image

I have not changed anything. I can add my information from my host (OVH) but I don't know what to put in KEY and value.

@EdyTheCow
Copy link
Owner

Could you provide compose of your panel? Also, what do you mean by "KEY" and "value"?

@StanislasSiweck
Copy link
Author

Docker-compose Panel:
image

When I looked on the Traefik website, I found this;
https://doc.traefik.io/traefik/v2.3/https/acme/#providers
And I found this for my host OVH

I had added the key with the value but nothing changes.

@EdyTheCow
Copy link
Owner

Ah, you're over complicating a bit. The default configuration on this repo uses let's encrypt which doesn't care what kind of host or domain provider you use. With default configuration you only need to point your panel domain to the IP address of the server panel is hosted on.

The configuration you're referring to for OVH is used as a challenge to generate the certificate. You can achieve the same result by simply using let's encrypt which is what this repo uses by default.

@StanislasSiweck
Copy link
Author

Okay fine, but then why can't it find? I opened port 80 and 443, I installed a wordpress (that I uninstalled after) for test and with it everything was good.

@EdyTheCow
Copy link
Owner

Did the WordPress you installed ran under Traefik?
Are you running default configuration from repo or have you added / removed Traefik labels or anything else in Traefik.toml?
Does the acme.json exist? If so does it have correct permissions set?

@StanislasSiweck
Copy link
Author

StanislasSiweck commented Jul 17, 2022

I had launched wordpress on another VM, I just tested on the same VM with the labels. I can't access it (config problem) but I have the certificate in acme.json. I don't really understand it.
Yes, it has permission and I don't use anything more than what is given in the project. (except the docker-compose that I created to test the worldpress)

Wordpress:
image

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