Brad Fitzpatrick 0dd7c8d7c3 http2/h2demo: use Let's Encrypt for the TLS cert hace 8 años
..
.gitignore 17e723d022 http2: move github.com/bradfitz/http2 down into a new http2 directory hace 9 años
Makefile 5627bad10b http2/h2demo: updates to text and Makefile to upload/deploy it hace 9 años
README 17e723d022 http2: move github.com/bradfitz/http2 down into a new http2 directory hace 9 años
h2demo.go 0dd7c8d7c3 http2/h2demo: use Let's Encrypt for the TLS cert hace 8 años
launch.go 237fc45c42 http2: gofmt -w -s hace 8 años
rootCA.key 17e723d022 http2: move github.com/bradfitz/http2 down into a new http2 directory hace 9 años
rootCA.pem 17e723d022 http2: move github.com/bradfitz/http2 down into a new http2 directory hace 9 años
rootCA.srl 17e723d022 http2: move github.com/bradfitz/http2 down into a new http2 directory hace 9 años
server.crt 17e723d022 http2: move github.com/bradfitz/http2 down into a new http2 directory hace 9 años
server.key 17e723d022 http2: move github.com/bradfitz/http2 down into a new http2 directory hace 9 años

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