this is some code snipped out of a program that tells the connection to allow "Insecure",
the marked line is what I need to allow my program to connect to a self signed certificate.
import "crypto/tls"
var bodyType string = "text/xml"
var client *http.Client
var err error
var res *http.Response
config := &tls.Config{InsecureSkipVerify: true} // this line here
tr := &http.Transport{ TLSClientConfig: config }
client = &http.Client{Transport: tr}
res, err = client.Post(url, bodyType, bodyReader)
Regards,
Rob