Skip to content

Commit

Permalink
fix doh-url example
Browse files Browse the repository at this point in the history
  • Loading branch information
sftcd committed Sep 10, 2023
1 parent 7ff250d commit aba1e43
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion esnistuff/building-curl-openssl-with-ech.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,16 @@ Curl has some support for using DoH for A/AAAA lookups so it was relatively easy
to add retrieval of HTTPS RRs in that situation. To use ECH and DoH together:

$ cd $HOME/code/curl
$ LD_LIBRARY_PATH=$HOME/code/openssl ./src/curl -vvv https://defo.ie/ech-check.php
$ LD_LIBRARY_PATH=$HOME/code/openssl ./src/curl -vvv --doh-url https://1.1.1.1/dns-query --ech https://defo.ie/ech-check.php
...
SSL_ECH_STATUS: success <img src="greentick-small.png" alt="good" /> <br/>
...

The output snippet above is within the HTML for the web page, when things work.

Currently that does work for defo.ie but does not for
https://crypto.cloudflare.com/cdn-cgi/trace so we've more to do.

### Supplying an ECHConfig on the command line

To actually use ECH you need to supply the ECHConfig on the command line (for
Expand Down

0 comments on commit aba1e43

Please sign in to comment.