Hacker News new | ask | show | jobs
Show HN: Dynamically generate self-signed certs for Go unit tests (github.com)
1 points by madflojo 860 days ago
1 comments

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:

https://go.dev/src/crypto/tls/generate_cert.go