1
0
Fork 0
mirror of https://github.com/Luzifer/vault-openvpn.git synced 2024-11-13 02:22:45 +00:00
vault-openvpn/vendor/golang.org/x/net/http2/h2demo
Knut Ahlers b4cc42902e
Switch to dep from Godeps
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-10-10 10:19:14 +02:00
..
.gitignore Switch to dep from Godeps 2017-10-10 10:19:14 +02:00
h2demo.go Switch to dep from Godeps 2017-10-10 10:19:14 +02:00
launch.go Switch to dep from Godeps 2017-10-10 10:19:14 +02:00
Makefile Switch to dep from Godeps 2017-10-10 10:19:14 +02:00
README Switch to dep from Godeps 2017-10-10 10:19:14 +02:00
rootCA.key Switch to dep from Godeps 2017-10-10 10:19:14 +02:00
rootCA.pem Switch to dep from Godeps 2017-10-10 10:19:14 +02:00
rootCA.srl Switch to dep from Godeps 2017-10-10 10:19:14 +02:00
server.crt Switch to dep from Godeps 2017-10-10 10:19:14 +02:00
server.key Switch to dep from Godeps 2017-10-10 10:19:14 +02:00

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