mirror of
https://github.com/Luzifer/nginx-sso.git
synced 2024-12-21 05:11:17 +00:00
|
||
---|---|---|
.. | ||
.gitignore | ||
deployment-prod.yaml | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
h2demo.go | ||
Makefile | ||
README | ||
rootCA.key | ||
rootCA.pem | ||
rootCA.srl | ||
server.crt | ||
server.key | ||
service.yaml | ||
tmpl.go |
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