Skip to content

Instantly share code, notes, and snippets.

@kendrickjr
Last active October 20, 2025 23:43
Show Gist options
  • Save kendrickjr/52b355b8048fce1051489f348a99b5be to your computer and use it in GitHub Desktop.
Save kendrickjr/52b355b8048fce1051489f348a99b5be to your computer and use it in GitHub Desktop.
Configure Certificate in Dspace7 - Digicerts and others

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
  1. open .bashrc file

At the bottom paste this

    export NODE_EXTRA_CA_CERTS=/etc/ssl/certs/<certname>.pem

Save and see

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment