Open StanislasSiweck opened 2 years ago
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?
Treafik:
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.
Could you provide compose of your panel? Also, what do you mean by "KEY" and "value"?
Docker-compose Panel:
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.
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.
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.
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?
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:
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.