On Sunday, 29 November 2020 at 21:09:24 UTC Jeroen N. Witmond wrote: > go run `locate generate_cert.go` --host 127.0.0.1 --rsa-bits=2048 --ca > > That will only work if there's exactly one instance of generate_cert.go on your filesystem.
A better command is: go run "$(go env GOROOT)/src/crypto/tls/generate_cert.go" ...etc Or you can just download generate_cert.go directly from github <https://raw.githubusercontent.com/golang/go/master/src/crypto/tls/generate_cert.go> . Or should crypto/tls/generate_cert.go not be referred to at all? > > I think it's helpful to mention it. It's not hard to find - after all, it does say it's in crypto/tls. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/2984eada-27b1-4e59-82a5-e254e5caa91bn%40googlegroups.com.