Skip to content

bug report: docs for certificate over caddy with json might be wrong or dont work with latest caddy #3931

@chrismaster

Description

@chrismaster

📝 Preliminary Checks

  • I tried searching for an existing issue and followed the debugging docs advice, but still need assistance.

👀 What Happened?

reading through the docs and found something didn't work here with latest caddy 2.7.6 and latest docker-mailserver 13.3.1

👟 Reproduction Steps

No response

🐋 DMS Version

v13.3.1

💻 Operating System and Architecture

fedora 39

⚙️ Container configuration files

in the docs
https://docker-mailserver.github.io/docker-mailserver/edge/config/security/ssl/#caddy
under 
Caddy v2 JSON example snippet
this part is wrong:

"tls": {
      "automation": {
        "policies": [
          {
            "subjects": [
              "mail.example.com",
            ],
            "key_type": "rsa2048",
            "issuer": {
              "email": "[email protected]",
              "module": "acme"
            }
          },
          {
            "issuer": {
              "email": "[email protected]",
              "module": "acme"
            }
          }
        ]
      }

https://caddyserver.com/docs/json/apps/tls/
says no issuer field
there is only a issuers field under policies, so it shoud be

,
    "tls": {
      "automation": {
        "policies": [
          {
            "subjects": [
              "mail.example.com"
            ],
            "key_type": "rsa2048"
          }
        ]
      }
    }

📜 Relevant log output

No response

Improvements to this form?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions