Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: If downloading fails and a "custom" RootCA was declared in TLSCl…
…ientConfig, retry download with default RootCA. (#39) On Windows x509.SystemCertPool() always returns nil which means that Windows users with NODE_EXTRA_CA_CERTS defined will only get the NODE_EXTRA_CA_CERTS. Therefore, if RootCAs was created, and the download fail, retry with RootCAs as nil to allow Go to figure out the proper CAs. Signed-off-by: Samuel HULTGREN <[email protected]>
- Loading branch information