Brad Fitzpatrick 65e2d4e150 http2/h2demo: fix the HTTP/1-vs-HTTP/2 demo after HSTS breakage há 5 anos atrás
..
.gitignore d19327ad09 http2/h2demo: enable HTTP ACME challenges, move from CoreOS to Kubernetes há 6 anos atrás
Dockerfile 65e2d4e150 http2/h2demo: fix the HTTP/1-vs-HTTP/2 demo after HSTS breakage há 5 anos atrás
Makefile 65e2d4e150 http2/h2demo: fix the HTTP/1-vs-HTTP/2 demo after HSTS breakage há 5 anos atrás
README 17e723d022 http2: move github.com/bradfitz/http2 down into a new http2 directory há 9 anos atrás
deployment-prod.yaml d19327ad09 http2/h2demo: enable HTTP ACME challenges, move from CoreOS to Kubernetes há 6 anos atrás
h2demo.go 65e2d4e150 http2/h2demo: fix the HTTP/1-vs-HTTP/2 demo after HSTS breakage há 5 anos atrás
rootCA.key 17e723d022 http2: move github.com/bradfitz/http2 down into a new http2 directory há 9 anos atrás
rootCA.pem 17e723d022 http2: move github.com/bradfitz/http2 down into a new http2 directory há 9 anos atrás
rootCA.srl 17e723d022 http2: move github.com/bradfitz/http2 down into a new http2 directory há 9 anos atrás
server.crt 17e723d022 http2: move github.com/bradfitz/http2 down into a new http2 directory há 9 anos atrás
server.key 17e723d022 http2: move github.com/bradfitz/http2 down into a new http2 directory há 9 anos atrás
service.yaml 07e8617a6d http2/h2demo: set externalTrafficPolicy to preserve client IPs há 6 anos atrás
tmpl.go 65e2d4e150 http2/h2demo: fix the HTTP/1-vs-HTTP/2 demo after HSTS breakage há 5 anos atrás

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