From 495b3774bd7b7d8147ce9b7a6a9151331d6bb4c1 Mon Sep 17 00:00:00 2001 From: Chris Wiegman Date: Sat, 30 Sep 2023 10:52:11 -0400 Subject: [PATCH] Make sure we're only dealing with the SSL trust on Mac --- internal/settings/ssl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/settings/ssl.go b/internal/settings/ssl.go index 02932460..08cb0a41 100644 --- a/internal/settings/ssl.go +++ b/internal/settings/ssl.go @@ -47,7 +47,7 @@ func (s *Settings) EnsureSSLCerts(consoleOutput *console.Console) error { } // If we're on Mac try to add the cert to the system trust. - if s.SSL { + if s.SSL && runtime.GOOS == "darwin" { return TrustSSL(consoleOutput) }