Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
moloch-- committed Sep 20, 2022
1 parent d37de4f commit a0c0657
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/c2/mtls.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,9 @@ func getServerTLSConfig(host string) *tls.Config {
mtlsLog.Fatalf("Error loading server certificate: %v", err)
}

// We're not going to randomize the JARM on this one, the traffic
// going over mTLS needs to be secure, and the JARM is fairly
// common Golang TLS server so it's not going to be too suspicious
tlsConfig := &tls.Config{
RootCAs: mtlsCACertPool,
ClientAuth: tls.RequireAndVerifyClientCert,
Expand Down

0 comments on commit a0c0657

Please sign in to comment.