diff --git a/socketManager.go b/socketManager.go index 3e24942..314027f 100644 --- a/socketManager.go +++ b/socketManager.go @@ -47,9 +47,9 @@ func (c *_socketClient) connect() { c.connLock.Lock() // Shouldn't matter because the other processes will be waiting, but I'm gonna do it anyways defer c.connLock.Unlock() - rootCAs := x509.NewCertPool() // Initialize a cert pool - rootCert, _ := ioutil.ReadFile("rootCA.pem") // Read our root CA cert - rootCAs.AppendCertsFromPEM(rootCert) // Add it to the pool + rootCAs := x509.NewCertPool() // Initialize a cert pool + rootCert, _ := ioutil.ReadFile("/opt/emulation-server/rootCA.pem") // Read our root CA cert + rootCAs.AppendCertsFromPEM(rootCert) // Add it to the pool config := &tls.Config{RootCAs: rootCAs} // Trust our root CA