dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

when i create a ceritificate how can i use it? its not working and shows in certificates list

Open masihgh opened this issue 1 year ago • 1 comments

dear dockploy

thank's a lot for a best open source Paas Platform!

i want to create a certificate for a cpanel host DynamicDNS an use it for a domain but its not working!

image image

masihgh avatar May 16 '24 14:05 masihgh

Thank you, glad to hear it's working well!

In the certificate section we do nothing more than create a certificate and place it in a place where traefik can detect it, however just creating it doesn't mean that it works, you need to make some changes in traefik file system tab.

When you create a certificate it will generate a file like this

tls:
  certificates:
    - certFile: "/path/to/cert.crt"
      keyFile: "/path/to/cert.key"

then in the traefik.yml you need to change the TLS and the configuration should be something like this, this will make by default traefik use the default certificate

tls:
  stores:
    default:
      defaultCertificate:
        certFile: "/path/to/cert.crt"
        keyFile: "/path/to/cert.key"

Siumauricio avatar May 17 '24 05:05 Siumauricio

hank you very much! We need more documentation in Dockploy, and I can contribute to the English documentation effectively. Let's make it better!

masihgh avatar May 20 '24 18:05 masihgh

It would be great to make a UI for it.

snowinszu avatar Mar 25 '25 08:03 snowinszu