Commit 0b4cc67f authored by Lukas Burgey's avatar Lukas Burgey
Browse files

Reactivate certificate check

parent bb8f4418
package main package main
import ( import (
"crypto/tls"
"encoding/json" "encoding/json"
"fmt" "fmt"
"io/ioutil" "io/ioutil"
...@@ -62,11 +61,7 @@ const ( ...@@ -62,11 +61,7 @@ const (
) )
var ( var (
// TODO fix certs client = &http.Client{}
tr = &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
}
client = &http.Client{Transport: tr}
) )
func failOnError(err error, msg string) { func failOnError(err error, msg string) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment