500 error after SSL certificate update

92 views
Skip to first unread message

GOOGLY

unread,
Jun 11, 2025, 1:34:27 AMJun 11
to DSpace Technical Support
I facing issue of 500 error after SSL certificate update

the ui gives 500 error on page reload but works normal after clicking on logo
Screenshot 2025-06-10 154913.png
Screenshot 2025-06-10 154928.png

Elaine Ding

unread,
Jun 17, 2025, 9:46:49 AMJun 17
to DSpace Technical Support
I am facing the same issue after I update the SSL certificate, do you find a solution yet ?

Thanks
Elaine

GOOGLY

unread,
Jun 18, 2025, 2:19:21 AMJun 18
to DSpace Technical Support
Node.js does not trust the certificates presented by apache  to resolve this you need to run these commnads

pm2 show dspace-ui | grep "Script origin"

pm2 set dspace-ui:NODE_EXTRA_CA_CERTS "etc/ssl/cert/chain.pem"  //location of certificate

pm2 reload dspace-ui --update-env

ddeog...@gmail.com

unread,
Oct 20, 2025, 7:18:13 PMOct 20
to DSpace Technical Support
This is how i solved 
1. openssl x509 -in myCAcert.crt -out <certname>.pem -outform PEM
2. open .bashrc file

2. at the bottom paste this "export NODE_EXTRA_CA_CERTS=/etc/ssl/certs/<certname>.pem"

Save and see

Nour El Houda ZEGHAD

unread,
Nov 3, 2025, 3:25:16 AM (2 days ago) Nov 3
to ddeog...@gmail.com, DSpace Technical Support
stop and reactive solor and web server 

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dspace-tech/94ae47a6-426e-4ea2-96a7-b865299a95edn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages