Hi folks, I just installed Nim 2.2.4 on MacOs but I keep getting this error when running nimble refresh or install:
Downloading Official package list
Tip: 3 messages have been suppressed, use --verbose to show them.
packageinfo.nim(156) fetchList
Error: Failed to verify the SSL certificate for https://raw.githubusercontent.com/nim-lang/packages/master/packages.json
Hint: Use --noSSLCheck to ignore this error.
I couldn't find a solution yet, only saw one person having the same issue but it fixed by reinstalling, which didn't fix it for me. I have OpenSSL installed.
curl -k https://raw.githubusercontent.com/nim-lang/packages/master/packages.json -o ~/.nimble/packages_official.json
[PackageList] name = "official" path = "/Users/USERNAME/.nimble/packages.json"
Now I can normally install packages, even though I didn't solve the root cause.
Hi folks, I just installed Nim 2.2.4 on MacOs but I keep getting this error when running nimble refresh or install:
There's some flakiness with MacOS sometimes regarding SSL certificates. I had to do something on mine recently upgrading MacOS, it was something like https://wyday.com/forum/t/5067/macos-fix-for-expired-certificate/
Then you add in homebrew openssl and apps get really confused sometimes. :/ Probably why reinstalling (and possibly recompiling Nim) could fix it sometimes.