vsphere-influxdb-go/vendor/golang.org/x/net/http2/h2demo
Adrian Todorov a59409f16b add vendoring with go dep 2017-10-25 20:52:40 +00:00
..
.gitignore add vendoring with go dep 2017-10-25 20:52:40 +00:00
Makefile add vendoring with go dep 2017-10-25 20:52:40 +00:00
README add vendoring with go dep 2017-10-25 20:52:40 +00:00
h2demo.go add vendoring with go dep 2017-10-25 20:52:40 +00:00
launch.go add vendoring with go dep 2017-10-25 20:52:40 +00:00
rootCA.key add vendoring with go dep 2017-10-25 20:52:40 +00:00
rootCA.pem add vendoring with go dep 2017-10-25 20:52:40 +00:00
rootCA.srl add vendoring with go dep 2017-10-25 20:52:40 +00:00
server.crt add vendoring with go dep 2017-10-25 20:52:40 +00:00
server.key add vendoring with go dep 2017-10-25 20:52:40 +00:00
tmpl.go add vendoring with go dep 2017-10-25 20:52:40 +00: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