diff --git a/taskfile/node_http.go b/taskfile/node_http.go index 75b8ece3..914b8b9a 100644 --- a/taskfile/node_http.go +++ b/taskfile/node_http.go @@ -84,7 +84,7 @@ func NewHTTPNode( if url.Scheme == "http" && !insecure { return nil, &errors.TaskfileNotSecureError{URI: url.Redacted()} } - + client, err := buildHTTPClient(insecure, base.caCert, base.cert, base.certKey) if err != nil { return nil, err diff --git a/taskfile/node_http_test.go b/taskfile/node_http_test.go index cfa27329..359ec798 100644 --- a/taskfile/node_http_test.go +++ b/taskfile/node_http_test.go @@ -221,7 +221,7 @@ func generateTestCertAndKey(t *testing.T) (certPEM, keyPEM []byte) { template := x509.Certificate{ SerialNumber: big.NewInt(1), Subject: pkix.Name{ - Organization: []string{"Test Org"}, + Organization: []string{"Task Org"}, }, NotBefore: time.Now(), NotAfter: time.Now().Add(time.Hour),