Skip to content

Fix SSL certificate docs and cover both mac architectures - #151

Open
turegjorup wants to merge 2 commits into
developfrom
feature/ssl-docs-fixes
Open

turegjorup wants to merge 2 commits into
developfrom
feature/ssl-docs-fixes

Conversation

@turegjorup

Copy link
Copy Markdown
Contributor

Corrects two wrong paths in the SSL section of the README and makes the openssl command work on Apple Silicon.

Changes

  • Certificate path read ./treafik/ssl/docker.crt; it is ./traefik/ssl/docker.crt
  • openssl config path was hardcoded to /usr/local/etc/openssl/openssl.cnf, the Intel Homebrew prefix. It is now derived with openssl version -d, which resolves on Intel and Apple Silicon alike
  • Note that the wildcard covers one level only, and that *.*.local.itkdev.dk is not a way around it

Why

The documented command fails outright on an Apple Silicon mac, because the config file it points at is not there. Verified the corrected command produces a certificate with the right SAN, and checked both wildcard claims with openssl verify -verify_hostname: *.local.itkdev.dk matches itksites.local.itkdev.dk but not idp.itksites.local.itkdev.dk, and a double wildcard matches neither. Two DNS: entries, one per level, do work.

Markdownlint passes with the repo config.

The certificate path read ./treafik/ssl/, and the openssl config path was
the Intel Homebrew prefix, which does not exist on Apple Silicon. Derive
it from openssl version -d so one command covers both.

Note that the wildcard only covers one level, and that a double wildcard
is not a way around it.
@turegjorup turegjorup self-assigned this Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant