Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated the readme file to match what the code does. #66

Merged
merged 1 commit into from
Mar 10, 2024
Merged
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: 2 additions & 2 deletions http2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Run `./scripts/generate-certs.sh`. This wil create all the require files in a ce

The sample requires you provide the paths to the various certificates
```
swift run Server --certificate-chain certs/server.crt --private-key certs/server.key
swift run App --certificate-chain certs/server.crt --private-key certs/server.key
```

To test the sample you can use `curl`. You need to provide the root trust certificate that the server certificate and key were generated from.
```
curl --cacert certs/ca.crt https://localhost:8080/http
curl --cacert certs/ca.crt https://localhost:8081/http
```