Skip to content

Commit

Permalink
Updated the readme file to match what the code does. (#66)
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Laszlo Rocska <[email protected]>
  • Loading branch information
adam-rocska and adam-rocska authored Mar 10, 2024
1 parent e714559 commit 201ea64
Showing 1 changed file with 2 additions and 2 deletions.
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
```

0 comments on commit 201ea64

Please sign in to comment.