Create Meteor packages behind corporate firewall with SSL inspection


#1

I started a new job with a company that has a firewall that inspects SSL. This is causing problems when I try to create a new Meteor project:

[root@centos ~]# meteor create test2
=> Errors while creating your project

While downloading autoupdate@1.2.11…:
error: self signed certificate in certificate chain

While downloading caching-compiler@1.0.6…:
error: self signed certificate in certificate chain

While downloading ddp-client@1.2.9…:
error: self signed certificate in certificate chain

While downloading ddp-server@1.2.10…:
error: self signed certificate in certificate chain

While downloading http@1.1.8…:
error: self signed certificate in certificate chain

While downloading templating@1.1.14…:
error: self signed certificate in certificate chain

[root@centos ~]#

I tried installing the CA, converting to PEM and assigning it to the environmental variable CAFILE to no avail, but I won’t exclude that my steps are faulty as I am exporting the CA cert from windows (using certmgr.msc)…

My question is whether there is a way to disable this SSL check? Example on curl I just use the ‘-k’ flag, and I am pretty sure that npm supports the disabling of strict-ssl mode…

thanks!


#2

Does this company have a proxy you can use? If so setting HTTP_PROXY and HTTPS_PROXY environment variables should help with this.


#3

No it doesn’t unless you’re talking about a transparent proxy.