> Is there a particular directory where I should keep the certificate? That's defined in your program. If you write it yourself, it's up to you.
You can find a small worked example of a program that uses a certificate here: https://github.com/goblimey/grpc. Regards Simon On Friday, September 15, 2017 at 10:44:48 PM UTC+1, David Streckert wrote: > > Hey Shawn, > > Thank you for that. Is there a particular directory where I should keep > the certificate? > > On Friday, September 15, 2017 at 2:34:09 PM UTC-7, Shawn Milochik wrote: >> >> Sure. It's pretty simple: >> https://golang.org/pkg/net/http/#ListenAndServeTLS >> >> The only caveat is that you may have more than two files. If that's the >> case, then you will have to combine your certificate and GoDaddy's chain >> certificate into a single file and use that as your certificate file. >> > -- 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. For more options, visit https://groups.google.com/d/optout.