Brad Fitzpatrick 08c3f55f15 add missing copyright headers 12 роки тому
..
README e9e3f102d9 start. 12 роки тому
h2server.go 08c3f55f15 add missing copyright headers 12 роки тому
rootCA.key e9e3f102d9 start. 12 роки тому
rootCA.pem e9e3f102d9 start. 12 роки тому
rootCA.srl e9e3f102d9 start. 12 роки тому
server.crt e9e3f102d9 start. 12 роки тому
server.key e9e3f102d9 start. 12 роки тому

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