Open MohamedRagabAnas opened 8 months ago
SolidBench doesn't support delegating CLI options to the internal Solid server atm, so what you want to do won't be possible right now unfortunately.
What would be easier to do, would be to run SolidBench in http-mode behind a reverse proxy such as Nginx, and enabling https in Nginx.
Hello,
I tried to run
solidbench serve
over https, providing thehttpsKey
andhttpsCert
, bu that failed.complaining about the following error:
Error: Could not create the server Cause: Undefined variable: urn:solid-server:custom:variable:httpsKey Error: Undefined variable: urn:solid-server:custom:variable:httpsKey
I am not sure if there is something missing in my command, or in the configuration that I should take care of.
This how I run the command
solidbench serve --baseUrl https://[myVM_IP]:3000 --httpsKey /etc/tls/private/entca_srv0.key --httpsCert /etc/tls/certs/entca_srv0.pem -c /etc/solid/server-config.json
and here is how the
server-config.json
looks likes after some trials: