Brad Fitzpatrick 08c3f55f15 add missing copyright headers 11 лет назад
..
README e9e3f102d9 start. 11 лет назад
h2server.go 08c3f55f15 add missing copyright headers 11 лет назад
rootCA.key e9e3f102d9 start. 11 лет назад
rootCA.pem e9e3f102d9 start. 11 лет назад
rootCA.srl e9e3f102d9 start. 11 лет назад
server.crt e9e3f102d9 start. 11 лет назад
server.key e9e3f102d9 start. 11 лет назад

README


Client:
-- Firefox nightly with about:config network.http.spdy.enabled.http2draft set true
-- 33.0a1 (2014-07-15) sends NPN "h2-13"

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