Brad Fitzpatrick 12475b82fe h2demo: add build tag 11 лет назад
..
.gitignore 107292a161 Fixes to demo site. 11 лет назад
Makefile 12475b82fe h2demo: add build tag 11 лет назад
README 7197fa6d9c Add the demo server back, slightly cleaned up. 11 лет назад
h2demo.go 12475b82fe h2demo: add build tag 11 лет назад
launch.go 107292a161 Fixes to demo site. 11 лет назад
rootCA.key 7197fa6d9c Add the demo server back, slightly cleaned up. 11 лет назад
rootCA.pem 7197fa6d9c Add the demo server back, slightly cleaned up. 11 лет назад
rootCA.srl 7197fa6d9c Add the demo server back, slightly cleaned up. 11 лет назад
server.crt 7197fa6d9c Add the demo server back, slightly cleaned up. 11 лет назад
server.key 7197fa6d9c Add the demo server back, slightly cleaned up. 11 лет назад

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