title: Deploying basic node.js app to openshift gives errors on git push
body: <ul>
  <li>I set up a default node application using the procedure on the openshift website, </li>
  <li>did a git clone on my ubuntu box,  </li>
  <li>edited the readme.md,  </li>
  <li>did a commit</li>
  <li>and tried pushing to the repo</li>
  <li><p>got a lot of npm fetch failed errors, and a lot of - Error: SELF_SIGNED_CERT_IN_CHAIN errors </p>
  
  <p>...
      remote: npm ERR! fetch failed <a href="https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz" rel="nofollow">https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz</a>
      remote: npm info retry will retry, error on last attempt: Error: SELF_SIGNED_CERT_IN_CHAIN</p>
  
  <pre><code>remote: npm http GET https://registry.npmjs.org/negotiator/-/negotiator-0.3.0.tgz
  remote: npm ERR! Error: SELF_SIGNED_CERT_IN_CHAIN
  remote: npm ERR!     at SecurePair.&lt;anonymous&gt; (tls.js:1283:32)
  remote: npm ERR!     at SecurePair.EventEmitter.emit (events.js:92:17)
  remote: npm ERR!     at SecurePair.maybeInitFinished (tls.js:896:10)
  remote: npm ERR!     at CleartextStream.read [as _read] (tls.js:430:15)
  remote: npm ERR!     at CleartextStream.Readable.read (_stream_readable.js:304:10)
  remote: npm ERR!     at EncryptedStream.write [as _write] (tls.js:344:25)
  remote: npm ERR!     at doWrite (_stream_writable.js:211:10)
  remote: npm ERR!     at writeOrBuffer (_stream_writable.js:201:5)
  remote: npm ERR!     at EncryptedStream.Writable.write (_stream_writable.js:172:11)
  remote: npm ERR!     at write (_stream_readable.js:557:24)
  remote: npm ERR!     at flow (_stream_readable.js:566:7)
  remote: npm ERR!     at Socket.pipeOnReadable (_stream_readable.js:598:5)
  
  remote: npm info preuninstall commander@1.3.2
  remote: npm info uninstall commander@1.3.2
  remote: npm info postuninstall commander@1.3.2
  remote: npm ERR!
  remote: npm ERR! Additional logging details can be found in:
  remote: npm ERR!     /var/lib/openshift/53100d354382ec58b5000032/app-root/runtime/repo/npm-debug.log
  remote: npm ERR! not ok code 0
  remote: An error occurred executing 'gear postreceive' (exit code: 1)
  remote: Error message: CLIENT_ERROR: Failed to execute: 'control build' for /var/lib/openshift/53100d354382ec58b5000032/nodejs
  remote:
  remote: For more details about the problem, try running the command again with the '--trace' option
  To ssh://53100d354382ec58b5000032@pmcloud-stellagreen.rhcloud.com/~/git/pmcloud.git/
     c851403..54dc73a  master -&gt; master
  </code></pre></li>
  </ul>
  
  <p>Looking at the logs is not helping.
  Help appreciated.</p>