Re: [go-nuts] Using commercial SSL certificate with golang server?
> 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.
Re: [go-nuts] Using commercial SSL certificate with golang server?
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.
Re: [go-nuts] Using commercial SSL certificate with golang server?
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.
[go-nuts] Using commercial SSL certificate with golang server?
Hello, I purchased an SSL certificate from godaddy.com. I was able to successfully download the certificate onto my laptop, right now it's just sitting in my downloads folder in a zip file. Godaddy has instructions on how to upload the certificate to NGINX or Apache, however, I think uploading/using the certificate with go may be a bit different. Does anyone have experience with this? I have a Debian Linux distro with Linode. Any information is appreciated. Thanks, Dave -- 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.