Occasionally people recommend generating certificates for local use by running go run crypto/tls/generate_cert.go:
It's a little difficult to get to this file though. It would be nice if it was installable as a binary, something like go get golang.org/x/crypto/cmd/generate_cert, maybe with some additional help documentation for the most common parameters to generate a certificate for local development.
(In particular I'm interested in testing out the new HTTP2 server push code, which is only available locally if you serve TLS.)
Occasionally people recommend generating certificates for local use by running
go run crypto/tls/generate_cert.go:It's a little difficult to get to this file though. It would be nice if it was installable as a binary, something like
go get golang.org/x/crypto/cmd/generate_cert, maybe with some additional help documentation for the most common parameters to generate a certificate for local development.(In particular I'm interested in testing out the new HTTP2 server push code, which is only available locally if you serve TLS.)