如何通过HTTPS在Golang中进行SOAP调用

I am trying to make a SOAP call over https.

I have tried using the gosoap["github.com/tiaguinho/gosoap"] library.

func main() {
    if soap, err := gosoap.SoapClient("https://domain:port/path?WSDL"); err != nil {
        fmt.Println(err)
        return
    } else {
        params := gosoap.Params{
            "param1": "abc",
            "param2":   "def",
            "param3":     "123",
        }

        if res, err := soap.Call("MethodName", params); err != nil {
            fmt.Println(err)
            return
        } else {
            fmt.Println(res)
            return
        }
    }
}

Here is the error I am getting:

Get https://domain:port/path?WSDL: x509: certificate signed by unknown authority
  1. How do I send Headers?
  2. How do I resolve the certificate issue?