added updating ca-certificates
try apt-get update
try NODE_TLS_REJECT_UNAUTHORIZED
before install
test date
revert changes
try endpoint
cleanup
allow untrusted certificates for publishaws
Merge pull request #565 from 28msec/fix-https

Fix https