README 806 B

12345678910111213141516171819
  1. This is a demo webserver that shows off Go's HTTP/2 support.
  2. It runs at https://http2.golang.org/ so people can hit our
  3. implementation with their HTTP/2 clients, etc. We intentionally do not
  4. run it behind any other HTTP implementation so clients (including
  5. people demonstrating attacks, etc) can hit our server directly. It
  6. just runs behind a TCP load balancer.
  7. When running locally, you'll need to click through TLS cert warnings.
  8. The dev cert was initially made like:
  9. Make CA:
  10. $ openssl genrsa -out rootCA.key 2048
  11. $ openssl req -x509 -new -nodes -key rootCA.key -days 1024 -out rootCA.pem
  12. Make cert:
  13. $ openssl genrsa -out server.key 2048
  14. $ openssl req -new -key server.key -out server.csr
  15. $ openssl x509 -req -in server.csr -CA rootCA.pem -CAkey rootCA.key -CAcreateserial -out server.crt -days 500