1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00
cowyo/vendor/golang.org/x/net/http2/h2demo
2018-04-22 05:51:19 -06:00
..
.gitignore update dependencies 2018-04-22 05:51:19 -06:00
deployment-prod.yaml update dependencies 2018-04-22 05:51:19 -06:00
Dockerfile update dependencies 2018-04-22 05:51:19 -06:00
Dockerfile.0 update dependencies 2018-04-22 05:51:19 -06:00
h2demo.go update dependencies 2018-04-22 05:51:19 -06:00
launch.go Vendoring 2017-10-03 14:43:55 -04:00
Makefile update dependencies 2018-04-22 05:51:19 -06:00
README Vendoring 2017-10-03 14:43:55 -04:00
rootCA.key Vendoring 2017-10-03 14:43:55 -04:00
rootCA.pem Vendoring 2017-10-03 14:43:55 -04:00
rootCA.srl Vendoring 2017-10-03 14:43:55 -04:00
server.crt Vendoring 2017-10-03 14:43:55 -04:00
server.key Vendoring 2017-10-03 14:43:55 -04:00
service.yaml update dependencies 2018-04-22 05:51:19 -06:00
tmpl.go Vendoring 2017-10-03 14:43:55 -04:00

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