Sunday, March 29, 2015

Handling SSL certificates with Go

Recently I needed to implement an SSL certificate to a Go server I was working on.
The certificate provider I had to use is Wildcard SSL from Comodo.
And of course things are never as easy as they should be and it was a bit more pain that I expected.
First of all, they don't know how to export the certificates for a Go server but fortunately they do it properly for nginx so I didn't had to copy paste certificates in the correct order or something.

What I've ended up with was something along the lines:

There are a few things that still don't work but I do get an A rating with almost perfect scores in the SSL Test here: https://www.ssllabs.com/ssltest/analyze.html
Post a Comment