Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix: removed cert read to load

=04479bb70aaa
diff --git a/cli/packages/gateway/gateway.go b/cli/packages/gateway/gateway.go
index 1c3515d76b..c067d52a1f 100644
--- a/cli/packages/gateway/gateway.go
+++ b/cli/packages/gateway/gateway.go
@@ -80,9 +80,7 @@ func (g *Gateway) ConnectWithRelay() error {
// Dial TURN Server
if relayPort == "5349" {
caCertPool := x509.NewCertPool()
- a, _ := os.ReadFile("/Users/akhilmhdh/Akhi/infisical-gateway-poc/certificates/test/ca-cert.pem")
- // caCertPool.AppendCertsFromPEM([]byte(g.config.CertificateChain))
- caCertPool.AppendCertsFromPEM(a)
+ caCertPool.AppendCertsFromPEM([]byte(g.config.CertificateChain))
log.Info().Msgf("Provided relay port %s. Using TLS", relayPort)
conn, err := dtls.Dial("udp", turnAddr, &dtls.Config{