I managed to configure a Solid server on a Raspberrypi (I used a self signed certificate) and it worked well with a classic web browser.
Now I try to make request throw a nodejs server, with @solid/cli.
In a first time I try to make a login request but I met an error during the request.
E_LOGIN request https://unpost.pi:8443/ .well-known/openid-configuration failed, reason: self signed certificate
I understand this error is because of the self signed certificate, and I know it’s possible to disable the security check. But I don’t manage how to do this.
Do you have any idea to skip this security check ?
Oh I wasn’t referring to switches vs init; the launcher
bin/solid-test sets
export NODE_TLS_REJECT_UNAUTHORIZED=0
and turns on the switch
–no-reject-unauthorized
And I tried to start my server like I said before and I have the same error.
Maybe I misunderstand something sorry …
I have tried to search and I think the issue comes from the client as my server never received the request. I found that the error comes from the code in /usr/lib/node_modules/@solid/cli/src/SolidClient.js
Exactly it’s this call in the code:
24 // Obtain a relying party
25 const relyingParty = await this.getRelyingParty(identityProvider);