Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Changelog", this file is a reverse-chronological list of merged pull requests.

## Open PR's

- [PR-151](https://github.com/itk-dev/devops_itkdev-docker/pull/151) - 2026-09-14 -
Fixed the SSL section of the README: the certificate path read `treafik`,
and the `openssl` config path was the Intel Homebrew prefix, so the
documented command failed on Apple Silicon
- [PR-145](https://github.com/itk-dev/devops_itkdev-docker/pull/145) - 2026-07-08 -
Updated GitHub Actions to latest versions (`actions/checkout` to `v7`,
`go-task/setup-task` to `v2`) in workflow templates and repository CI
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,19 @@ This setup comes with self-signed wildcard certificates for *.local.itkdev.dk, b
by using this openssl command on Mac, just change the two places where the domain is written.

```sh
openssl req -x509 -sha256 -nodes -days 3650 -newkey rsa:2048 -keyout docker.key -out docker.crt -subj "/CN=*.local.itkdev.dk" -reqexts SAN -extensions SAN -config <(cat /usr/local/etc/openssl/openssl.cnf <(printf '[SAN]\nsubjectAltName=DNS:*.local.itkdev.dk'))
openssl req -x509 -sha256 -nodes -days 3650 -newkey rsa:2048 -keyout docker.key -out docker.crt -subj "/CN=*.local.itkdev.dk" -reqexts SAN -extensions SAN -config <(cat "$(openssl version -d | cut -d'"' -f2)/openssl.cnf" <(printf '[SAN]\nsubjectAltName=DNS:*.local.itkdev.dk'))
```

`openssl version -d` finds the config wherever Homebrew put it, on Intel (`/usr/local`) as well as Apple Silicon
(`/opt/homebrew`).

The wildcard covers one level only, so `foo.local.itkdev.dk` matches but `foo.bar.local.itkdev.dk` does not. Add a
`DNS:` entry per level you need; a double wildcard, `*.*.local.itkdev.dk`, matches nothing at all.

To mac browser trust this certificate you need to open it with key-chain right click and select "Get info" and then open
the "Trust" tab and select "Always trust".

The certificate is located in `./treafik/ssl/docker.crt` in this repository.
The certificate is located in `./traefik/ssl/docker.crt` in this repository.

## Completions

Expand Down