Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into tcpCertPin
Browse files Browse the repository at this point in the history
  • Loading branch information
rsdmike committed Aug 22, 2024
2 parents acf0d38 + 556b79c commit a4317a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/wsman/client/wsman.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func (t *Target) GetServerCertificate() (*tls.Certificate, error) {
return nil
}

// Perform a connection to trigger the TLS handshake
// undo what we did in the constructor to get the endpoint (host and port)
nohttps := strings.Replace(t.endpoint, "https://", "", 1)
nohttps = strings.Replace(nohttps, "/wsman", "", 1)

Expand Down

0 comments on commit a4317a9

Please sign in to comment.