Scenario: Egerouter is set to allow for insecure connections, line 1200-1207
httpClient := &http.Client{
Transport: &http.Transport{
TLSClientConfig: &tls.Config{
Certificates: certificates,
InsecureSkipVerify: true,
},
},
}
This is used in test scenarious such that non authenticated TLS is possible. When connecting an agent with true MIR-endorsed certificates, this configuration triggers a panic from the edgerouter, closing the Websocket.
Scenario: Egerouter is set to allow for insecure connections, line 1200-1207
httpClient := &http.Client{
Transport: &http.Transport{
TLSClientConfig: &tls.Config{
Certificates: certificates,
InsecureSkipVerify: true,
},
},
}
This is used in test scenarious such that non authenticated TLS is possible. When connecting an agent with true MIR-endorsed certificates, this configuration triggers a panic from the edgerouter, closing the Websocket.