1
0
Fork 0
mirror of https://github.com/Luzifer/repo-template.git synced 2024-11-14 10:22:44 +00:00
repo-template/vendor/golang.org/x/net/http2/h2demo
2018-02-07 10:03:05 +01:00
..
.gitignore Vendor deps 2018-02-07 10:03:05 +01:00
deployment-prod.yaml Vendor deps 2018-02-07 10:03:05 +01:00
Dockerfile Vendor deps 2018-02-07 10:03:05 +01:00
Dockerfile.0 Vendor deps 2018-02-07 10:03:05 +01:00
h2demo.go Vendor deps 2018-02-07 10:03:05 +01:00
launch.go Vendor deps 2018-02-07 10:03:05 +01:00
Makefile Vendor deps 2018-02-07 10:03:05 +01:00
README Vendor deps 2018-02-07 10:03:05 +01:00
rootCA.key Vendor deps 2018-02-07 10:03:05 +01:00
rootCA.pem Vendor deps 2018-02-07 10:03:05 +01:00
rootCA.srl Vendor deps 2018-02-07 10:03:05 +01:00
server.crt Vendor deps 2018-02-07 10:03:05 +01:00
server.key Vendor deps 2018-02-07 10:03:05 +01:00
service.yaml Vendor deps 2018-02-07 10:03:05 +01:00
tmpl.go Vendor deps 2018-02-07 10:03:05 +01: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