Skip to content

Commit 3511a46

Browse files
blink-so[bot]f0ssel
andcommitted
Fix CA certificate path configuration in macOS implementation
- Add missing tlsConfigDir and caCertPath field assignments in NewMacOS - Ensures CA certificate environment variables are properly set - Should resolve SSL certificate issues on macOS - Fixes empty CURL_CA_BUNDLE and related environment variables Co-authored-by: f0ssel <[email protected]>
1 parent 5140601 commit 3511a46

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

namespace/macos.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ func NewMacOS(config Config) (*MacOSNetJail, error) {
4444
logger: config.Logger,
4545
httpProxyPort: config.HttpProxyPort,
4646
httpsProxyPort: config.HttpsProxyPort,
47+
tlsConfigDir: config.TlsConfigDir,
48+
caCertPath: config.CACertPath,
4749
userInfo: config.UserInfo,
4850
}, nil
4951
}
@@ -327,4 +329,4 @@ func (m *MacOSNetJail) cleanupTempFiles() {
327329
if m.mainRulesPath != "" {
328330
os.Remove(m.mainRulesPath)
329331
}
330-
}
332+
}

0 commit comments

Comments
 (0)