Show HN: Dynamically generate self-signed certs for Go unit tests
In the spirit of "a little copying is better than a little dependency", people might also be interested in the `crypto/tls` package's 172-line example program to generate certificates: