1
0
Fork 0
mirror of https://github.com/vbatts/srvdav.git synced 2024-12-01 21:05:39 +00:00
srvdav/vendor/golang.org/x/net/http2/h2demo
Vincent Batts 6feae25207
vendor: dep init
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2018-04-03 20:33:38 -04:00
..
.gitignore vendor: dep init 2018-04-03 20:33:38 -04:00
deployment-prod.yaml vendor: dep init 2018-04-03 20:33:38 -04:00
Dockerfile vendor: dep init 2018-04-03 20:33:38 -04:00
Dockerfile.0 vendor: dep init 2018-04-03 20:33:38 -04:00
h2demo.go vendor: dep init 2018-04-03 20:33:38 -04:00
launch.go vendor: dep init 2018-04-03 20:33:38 -04:00
Makefile vendor: dep init 2018-04-03 20:33:38 -04:00
README vendor: dep init 2018-04-03 20:33:38 -04:00
rootCA.key vendor: dep init 2018-04-03 20:33:38 -04:00
rootCA.pem vendor: dep init 2018-04-03 20:33:38 -04:00
rootCA.srl vendor: dep init 2018-04-03 20:33:38 -04:00
server.crt vendor: dep init 2018-04-03 20:33:38 -04:00
server.key vendor: dep init 2018-04-03 20:33:38 -04:00
service.yaml vendor: dep init 2018-04-03 20:33:38 -04:00
tmpl.go vendor: dep init 2018-04-03 20:33:38 -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