You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
541 B

  1. Client:
  2. -- Firefox nightly with about:config network.http.spdy.enabled.http2draft set true
  3. -- Chrome: go to chrome://flags/#enable-spdy4, save and restart (button at bottom)
  4. Make CA:
  5. $ openssl genrsa -out rootCA.key 2048
  6. $ openssl req -x509 -new -nodes -key rootCA.key -days 1024 -out rootCA.pem
  7. ... install that to Firefox
  8. Make cert:
  9. $ openssl genrsa -out server.key 2048
  10. $ openssl req -new -key server.key -out server.csr
  11. $ openssl x509 -req -in server.csr -CA rootCA.pem -CAkey rootCA.key -CAcreateserial -out server.crt -days 500