ldez / traefik-certs-dumper

Dump ACME data from Traefik to certificates
Other
462 stars 30 forks source link

Empty directories after running file command #174

Closed chachew closed 2 years ago

chachew commented 2 years ago

I have tried to export the certs from my acme.json file on multiple machines, both in Windows and Ubuntu with the same result each time. The only thing it creates is a dump directory with the certs and private subdirectories.

Dumper Version: 'dev' Traefik Version: 2.5.5

acme.json

{
  "cloudflare": {
    "Account": {
      "Email": "me@example.com",
      "Registration": {
        "body": {
          "status": "valid",
          "contact": [
            "mailto:me@example.com"
          ]
        },
        "uri": "https://acme-v02.api.letsencrypt.org/acme/acct/00000000"
      },
      "PrivateKey": "<private key here>",
      "KeyType": "4096"
    },
    "Certificates": [
      {
        "domain": {
          "main": "example.com",
          "sans": [
            "*.example.com"
          ]
        },
        "certificate": "<cert here>",
        "key": "<key here>",
        "Store": "default"
      }
    ]
  }
}
chachew commented 2 years ago

v2 flag was needed...