hdx/vendor/golang.org/x/net/http2/h2demo
Derek McQuay 59af8fc84f
initial commit
Signed-off-by: Derek McQuay <derekmcquay@gmail.com>
2018-04-10 19:17:26 -07:00
..
.gitignore initial commit 2018-04-10 19:17:26 -07:00
deployment-prod.yaml initial commit 2018-04-10 19:17:26 -07:00
Dockerfile initial commit 2018-04-10 19:17:26 -07:00
Dockerfile.0 initial commit 2018-04-10 19:17:26 -07:00
h2demo.go initial commit 2018-04-10 19:17:26 -07:00
launch.go initial commit 2018-04-10 19:17:26 -07:00
Makefile initial commit 2018-04-10 19:17:26 -07:00
README initial commit 2018-04-10 19:17:26 -07:00
rootCA.key initial commit 2018-04-10 19:17:26 -07:00
rootCA.pem initial commit 2018-04-10 19:17:26 -07:00
rootCA.srl initial commit 2018-04-10 19:17:26 -07:00
server.crt initial commit 2018-04-10 19:17:26 -07:00
server.key initial commit 2018-04-10 19:17:26 -07:00
service.yaml initial commit 2018-04-10 19:17:26 -07:00
tmpl.go initial commit 2018-04-10 19:17:26 -07: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