Incase you want to set SSL certificates in Dspace 7(Digicert and others) but not letsencrypt certificate. This is bacuase Node.js does not trust the certificates presented by apache/nginx to resolve this you need to do this
Error: Using a Self-Signed SSL Certificate causes the Frontend to not be able to access the Backend
Steps:
1. openssl x509 -in myCAcert.crt -out <certname>.pem -outform PEM
- open .bashrc file
At the bottom paste this
export NODE_EXTRA_CA_CERTS=/etc/ssl/certs/<certname>.pem
Save and see