ceph-csi/vendor/golang.org/x/net/http2/h2demo
Serguei Bezverkhi 7b24313bd6 vendor files
2018-01-10 13:42:26 -05:00
..
.gitignore vendor files 2018-01-10 13:42:26 -05:00
h2demo.go vendor files 2018-01-10 13:42:26 -05:00
launch.go vendor files 2018-01-10 13:42:26 -05:00
Makefile vendor files 2018-01-10 13:42:26 -05:00
README vendor files 2018-01-10 13:42:26 -05:00
rootCA.key vendor files 2018-01-10 13:42:26 -05:00
rootCA.pem vendor files 2018-01-10 13:42:26 -05:00
rootCA.srl vendor files 2018-01-10 13:42:26 -05:00
server.crt vendor files 2018-01-10 13:42:26 -05:00
server.key vendor files 2018-01-10 13:42:26 -05:00
tmpl.go vendor files 2018-01-10 13:42:26 -05: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