fix: add insecure TLS verification for initial cluster join
This commit is contained in:
parent
0e50eaa407
commit
641a2f09d3
@ -95,7 +95,8 @@ func JoinCluster(leaderAPI, advertiseAddr, nodeName, leaderCACert string, pkiDir
|
||||
// Configure TLS
|
||||
client.Transport = &http.Transport{
|
||||
TLSClientConfig: &tls.Config{
|
||||
RootCAs: caCertPool,
|
||||
RootCAs: caCertPool,
|
||||
InsecureSkipVerify: true, // Skip hostname verification for initial join
|
||||
},
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user