Greetings,

The documentation https://golang.org/pkg/net/http/#example_ListenAndServeTLS
 states
(in the example's comment) "One can use generate_cert.go in crypto/tls to 
generate cert.pem and key.pem."

In trying to find out how to do this I came across (closed) 
https://github.com/golang/go/issues/19900 As a result I found another way 
to invoke it: go run `locate generate_cert.go` --host 127.0.0.1 
--rsa-bits=2048 --ca 

Should the comment in the example of 
https://golang.org/pkg/net/http/#example_ListenAndServeTLS be changed to be 
more exact in the way crypto/tls/generate_cert.go can be invoked? Or 
should crypto/tls/generate_cert.go not be referred to at all?

Should I open an issue about this?

Jeroen.

-- 
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/c4b07c10-cf7c-489b-8fc7-1f7720916968n%40googlegroups.com.

Reply via email to