Skip to content

crypto/tls: put generate_cert.go in its own executable #19900

Description

@kevinburke

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions