没有 SSl/TLS CA 证书使用 nimble

No SSl/TLS CA certificates using nimble

我正在使用 Msys2 运行 并编译 c/nim 程序,我克隆了一个包含 .nim 文件的存储库,我想 运行 但没有有诸如 nimcrypto 之类的 ceration 包,所以我使用了命令

nimble install nimcrypto 

但是出现了这个错误

$ nimble install nimcrypto
    Prompt: No local packages.json found, download it from internet? [y/N]
    Answer: y
Downloading Official package list
       Tip: 5 messages have been suppressed, use --verbose to show them.
     Error: Refresh failed
        ... Could not download: No SSL/TLS CA certificates found.

我从哪里获得这些证书以及如何将它们添加到 nimble

使用 this

下载了 nimble

使用 this

下载了 nim
Nim Compiler Version 1.4.6 [Windows: amd64]
Compiled at 2021-05-03
Copyright (c) 2006-2020 by Andreas Rumpf

git hash: 09db720eff0ec9e160debab126af37b1a4df296c
active boot switches: -d:release

手动将证书从 this link

下载到 /usr/bin

这似乎解决了问题