distribution/vendor/github.com/bradfitz/http2/h2demo
Olivier Gambier 77e69b9cf3 Move to vendor
Signed-off-by: Olivier Gambier <olivier@docker.com>
2016-03-22 10:45:49 -07:00
..
.gitignore Move to vendor 2016-03-22 10:45:49 -07:00
h2demo.go Move to vendor 2016-03-22 10:45:49 -07:00
launch.go Move to vendor 2016-03-22 10:45:49 -07:00
Makefile Move to vendor 2016-03-22 10:45:49 -07:00
README Move to vendor 2016-03-22 10:45:49 -07:00
rootCA.key Move to vendor 2016-03-22 10:45:49 -07:00
rootCA.srl Move to vendor 2016-03-22 10:45:49 -07:00
server.crt Move to vendor 2016-03-22 10:45:49 -07:00
server.key Move to vendor 2016-03-22 10:45:49 -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