Skip to content

Commit 062e9f1

Browse files
authored
docs: trust certificate on Windows (#272)
Added information about how to add the caddy cert to the trusted certificates on Windows as this info was only provided for Linux & Mac.
1 parent e29fc44 commit 062e9f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/troubleshooting.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ If you have a TLS trust issues, you can copy the self-signed certificate from Ca
1212
$ docker cp $(docker compose ps -q caddy):/data/caddy/pki/authorities/local/root.crt /tmp/root.crt && sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain /tmp/root.crt
1313
# Linux
1414
$ docker cp $(docker compose ps -q caddy):/data/caddy/pki/authorities/local/root.crt /usr/local/share/ca-certificates/root.crt && sudo update-ca-certificates
15+
# Windows
16+
$ docker compose cp caddy:/data/caddy/pki/authorities/local/root.crt %TEMP%/root.crt && certutil -addstore -f "ROOT" %TEMP%/root.crt
1517

1618
## HTTPs and Redirects
1719

0 commit comments

Comments
 (0)