A possible cause is the use of self-signed certificates.
I temporarily solved this problem using environment variables.
export NODE_EXTRA_CA_CERTS="/etc/ssl/dspace.mydomain.pem"
export NODE_TLS_REJECT_UNAUTHORIZED='0'
Once you have a certificate provided by a CA, you can remove this variable.