Dmitri Shuralyov a8b05e9114 http2/h2demo: remove h2demo build constraint преди 6 години
..
.gitignore d19327ad09 http2/h2demo: enable HTTP ACME challenges, move from CoreOS to Kubernetes преди 8 години
Dockerfile a8b05e9114 http2/h2demo: remove h2demo build constraint преди 6 години
Makefile a4d6f7fead http2/h2demo: stop using gitlock, use Go modules преди 6 години
README 17e723d022 http2: move github.com/bradfitz/http2 down into a new http2 directory преди 10 години
deployment-prod.yaml d19327ad09 http2/h2demo: enable HTTP ACME challenges, move from CoreOS to Kubernetes преди 8 години
go.mod a4d6f7fead http2/h2demo: stop using gitlock, use Go modules преди 6 години
go.sum a4d6f7fead http2/h2demo: stop using gitlock, use Go modules преди 6 години
h2demo.go a8b05e9114 http2/h2demo: remove h2demo build constraint преди 6 години
rootCA.key 17e723d022 http2: move github.com/bradfitz/http2 down into a new http2 directory преди 10 години
rootCA.pem 17e723d022 http2: move github.com/bradfitz/http2 down into a new http2 directory преди 10 години
rootCA.srl 17e723d022 http2: move github.com/bradfitz/http2 down into a new http2 directory преди 10 години
server.crt 17e723d022 http2: move github.com/bradfitz/http2 down into a new http2 directory преди 10 години
server.key 17e723d022 http2: move github.com/bradfitz/http2 down into a new http2 directory преди 10 години
service.yaml 07e8617a6d http2/h2demo: set externalTrafficPolicy to preserve client IPs преди 7 години
tmpl.go a8b05e9114 http2/h2demo: remove h2demo build constraint преди 6 години

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