# Default Certificate not working

**URL:** <https://community.traefik.io/t/default-certificate-not-working/2675>\
**Category:** Traefik v2\
**Tags:** docker\
**Created:** [October 30, 2019, 7:30am UTC](https://community.traefik.io/t/default-certificate-not-working/2675 "2019-10-30T07:30:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![boldt](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/boldt/32/1004_2.png) [@boldt](https://community.traefik.io/u/boldt)\
**Post date:** [October 31, 2019, 8:28pm UTC](https://community.traefik.io/t/default-certificate-not-working/2675/3 "2019-10-31T20:28:16Z")

</div>

Hey @dduportal, thanks for your quick response. I do not get the file providers. It shouln't be so complicated to provide own cetficates, sorry. V1-configuration ws much simpler.

I tried the following:

```auto
# traefik.toml
[providers.file]
  filename = "/ssl/"

# ssl.toml
[[tls.certificates]]
  certFile = "/ssl/cert.pem"
  keyFile = "/ssl/key.pem"
  stores = ["default"]

[tls.stores]
  [tls.stores.default]
    [tls.stores.default.defaultCertificate]
      certFile = "/ssl/cert.pem"
      keyFile = "/ssl/key.pem"

```

Still no success, still the `TRAEFIK DEFAULT CERT`.

The new V2 configuration seems to be quite complicated and not well documented yet.

Can you please provide a working MWE with a default cert?

Used references:

- ["No default certificate, generating one" even if default certificate is specified](https://community.containo.us/t/no-default-certificate-generating-one-even-if-default-certificate-is-specified/2219/5)
- [Set TLS default option with .toml file](https://community.containo.us/t/set-tls-default-option-with-toml-file/2633/3)

---

_[View the full topic](https://community.traefik.io/t/default-certificate-not-working/2675)._
