miniflux-v2/vendor/golang.org/x/net/http2/h2demo
Frédéric Guillot 8ffb773f43 First commit 2017-11-19 22:01:46 -08:00
..
.gitignore First commit 2017-11-19 22:01:46 -08:00
Makefile First commit 2017-11-19 22:01:46 -08:00
README First commit 2017-11-19 22:01:46 -08:00
h2demo.go First commit 2017-11-19 22:01:46 -08:00
launch.go First commit 2017-11-19 22:01:46 -08:00
rootCA.key First commit 2017-11-19 22:01:46 -08:00
rootCA.pem First commit 2017-11-19 22:01:46 -08:00
rootCA.srl First commit 2017-11-19 22:01:46 -08:00
server.crt First commit 2017-11-19 22:01:46 -08:00
server.key First commit 2017-11-19 22:01:46 -08:00
tmpl.go First commit 2017-11-19 22:01:46 -08:00

README

Client:
 -- Firefox nightly with about:config network.http.spdy.enabled.http2draft set true
 -- Chrome: go to chrome://flags/#enable-spdy4, save and restart (button at bottom)

Make CA:
$ openssl genrsa -out rootCA.key 2048
$ openssl req -x509 -new -nodes -key rootCA.key -days 1024 -out rootCA.pem
... install that to Firefox

Make cert:
$ openssl genrsa -out server.key 2048
$ openssl req -new -key server.key -out server.csr
$ openssl x509 -req -in server.csr -CA rootCA.pem -CAkey rootCA.key -CAcreateserial -out server.crt -days 500