The script for generating certificates is currently
# Generates a self-signed certificate valid for 14 days, to use for webtransport
# run this from the root folder
OUT=examples/certificates
openssl req -x509 -newkey ec -pkeyopt ec_paramgen_curve:prime256v1 -keyout $OUT/key.pem -out $OUT/cert.pem -days 14 -nodes -subj "/CN=localhost"
Seems reasonable we could add to the script, and output the fingerprint digest to a file, e.g.
The script for generating certificates is currently
Seems reasonable we could add to the script, and output the fingerprint digest to a file, e.g.
Then the client could include it with
include_str!("..examples/certificates/digest")