Unable to fetch platform ios: Error: SELF_SIGNED_CERT_IN_CHAIN

Hi,
I am giving ionic (and cordova) a go, but I keep hitting this problem:

“Unable to fetch platform ios: Error: SELF_SIGNED_CERT_IN_CHAIN”

I had the same issue while trying to install cordova & ionic, and used as workaround a flag: “npm install cordova ionic --strict-ssl false”

This doesn’t seem to work when calling commands such as: “ionic platform add ios”

node v: v0.10.32
npm v: 1.4.28
cordova v: 4.0.0
ionic v: 1.2.8

running on: Darwin 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64 (yosemite)

cheers