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

On Wednesday, June 18, 2025 at 9:19:21 AM UTC+3 GOOGLY wrote:

> 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
>
>
> On Tuesday, 17 June 2025 at 19:16:49 UTC+5:30 Elaine Ding wrote:
>
>> I am facing the same issue after I update the SSL certificate, do you 
>> find a solution yet ?
>>
>> Thanks
>> Elaine
>>
>> On Wednesday, June 11, 2025 at 1:34:27 AM UTC-4 GOOGLY wrote:
>>
>>> 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
>>> [image: Screenshot 2025-06-10 154913.png]
>>
>>

-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/dspace-tech/94ae47a6-426e-4ea2-96a7-b865299a95edn%40googlegroups.com.

Reply via email to