summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/net/http2/h2demo/README
blob: 212a96f3835f3a0a9c69b589df4fb49c56ec1b00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

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