Brad Fitzpatrick b417086c80 http2/h2demo: pass h2demo tag to gitlock пре 8 година
..
.gitignore d19327ad09 http2/h2demo: enable HTTP ACME challenges, move from CoreOS to Kubernetes пре 8 година
Dockerfile d19327ad09 http2/h2demo: enable HTTP ACME challenges, move from CoreOS to Kubernetes пре 8 година
Dockerfile.0 d19327ad09 http2/h2demo: enable HTTP ACME challenges, move from CoreOS to Kubernetes пре 8 година
Makefile b417086c80 http2/h2demo: pass h2demo tag to gitlock пре 8 година
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 година
h2demo.go d19327ad09 http2/h2demo: enable HTTP ACME challenges, move from CoreOS to Kubernetes пре 8 година
launch.go 237fc45c42 http2: gofmt -w -s пре 10 година
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 d19327ad09 http2/h2demo: enable HTTP ACME challenges, move from CoreOS to Kubernetes пре 8 година
tmpl.go c4f37062e1 http2/h2demo: use HTTP host for HTTP-only link пре 9 година

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