Skip to content

Commit

Permalink
docs(README): add docs/tls explanations (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
n3wborn authored Jun 20, 2023
1 parent 6bacbab commit d2063d0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ For HTTPS to be fully operational **you need to accept certificates on "both sid
1. Go to the main url of the project (https://symfo.localhost/) and accept certificate
2. Got to the url used by vite (https://node.symfo.localhost:5173/) and accept certificate

Or, simply follow [TLS certificates](docs/tls.md) doc:

```bash
# Mac
$ 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
# Linux
$ 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
# Windows
$ docker compose cp caddy:/data/caddy/pki/authorities/local/root.crt %TEMP%/root.crt && certutil -addstore -f "ROOT" %TEMP%/root.crt
```

Now everything should be fine

## Symfony Docker Docs
Expand Down

0 comments on commit d2063d0

Please sign in to comment.