You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using cldr-data to get the core Unicode CLDR data. Unfortunately, having had it working fine, I'm now behind a corporate proxy that uses a different CA.
Hi,
I'm using
cldr-data
to get the core Unicode CLDR data. Unfortunately, having had it working fine, I'm now behind a corporate proxy that uses a different CA.It seems like
request
takes options which can include a CA certificate and (worst case) just disabling TLS checks: https://github.com/request/request/blob/master/request.js#L254However, the downloader doesn't allow you to pass in any options.
cldr-data-downloader/index.js
Line 84 in d71d801
Would you accept a PR that added:
options.downloadOptions
which got spread into that object.
Then in
cldr-data
"cldr-data-download-options"
which was passed into the downloader asoptions.downloadOptions
?NB: For this specific issue I'm hopefuly I can work round this by doing
export NODE_EXTRA_CA_CERTS=ca-cert/ca-cert.crt
The text was updated successfully, but these errors were encountered: