File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,14 @@ This requires `openssl` to be installed.
159159./scripts/generate-cert.sh localhost 127.0.0.1
160160```
161161
162- 3 . Start a http server to try this out with, on 127.0.01:8000 ` python3 -m http.server 8000 `
162+ 3 . Start a http server to try this out with, on 127.0.01:8000
163+
164+ This requires ` python3 ` to be installed.
165+
166+ ```
167+ python3 -m http.server 8000
168+ ```
169+
1631704 . Start a proxy-server:
164171
165172```
@@ -197,6 +204,18 @@ curl 127.0.0.1:6000/README.md
197204
198205Assuming you started the python http server in the directory of this repository, this should print the contents of this README.
199206
207+ Since we just wanted to make a single GET request here, we can make this process simpler but using the ` attested-get ` command:
208+
209+ ```
210+ cargo run -- attested-get \
211+ --url-path README.md
212+ --tls-ca-certificate ca.crt \
213+ --allowed-remote-attestation-type none \
214+ localhost:7000
215+ ```
216+
217+ This should also print the README file. This should work even if the proxy-client from step 5 is not running.
218+
200219## CLI differences from ` cvm-reverse-proxy `
201220
202221This aims to have a similar command line interface to ` cvm-reverse-proxy ` but there are some differences:
You can’t perform that action at this time.
0 commit comments