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