Skip to content

Webid-TLS -> Error: self signed certificate #886

Closed

Description

@JeromeK13

Hey Guys
I recently created my SolidServer(local).
So i created an account called "adminswiss".
Solid POD URL: https://adminswiss.localhost:8443
Solid WebID: https://adminswiss.localhost:8443/profile/card#me

I also create a Certification with this Script where i entered my Name + WebID:
https://github.com/njh/gen-webid-cert

Now:
If i wannt to Login with the Certification i get this error:
image

Config.json of the Server:

{
"root": ".../solidServer/data",
"port": "8443",
"serverUri": "https://localhost:8443",
"webid": true,
"mount": "/",
"configPath": "./config",
"configFile": "./config.json",
"dbPath": "./.db",
"sslKey": ".../localhost.key",
"sslCert": ".../localhost.cert",
"multiuser": true
}

Can i fix this somehow?

Activity

  1. kjetilk commented on Oct 24, 2018

    @kjetilk
    Member

    When using a self-signed certificate, you have to start the server with bin/solid-test rather than the usual solid binary. Can you try that?

  2. JeromeK13 commented on Oct 24, 2018

    @JeromeK13
    Author

    solid start --no-reject-unauthorized
    Started the Server with this command, but the error still appeared.

    I also tried this one:
    solid start --auth tls --no-reject-unauthorized
    (Here i have to enter my Password for the Certification like 4 times to enter the website)

    Or this one
    solid start --auth oicd --no-reject-unauthorized
    But still the same error

  3. kjetilk commented on Oct 24, 2018

    @kjetilk
    Member

    Yeah, you need to replace solid start with solid-test start

  4. JeromeK13 commented on Oct 24, 2018

    @JeromeK13
    Author

    Input:
    solid-test start
    Result:
    -bash: solid-test: command not found

    Cant find the command but it is located at /usr/local/lib/node_modules/solid-server/bin

    Thanks for your help 👍

  5. kjetilk commented on Oct 24, 2018

    @kjetilk
    Member

    Yeah, so you can say

    /usr/local/lib/node_modules/solid-server/bin/solid-test

    I suppose there may be a way to install it, but I don't know.

  6. JeromeK13 commented on Oct 24, 2018

    @JeromeK13
    Author

    worked perfectly with /usr/local/lib/node_modules/solid-server/bin/solid-test start 👍

  7. kjetilk commented on Oct 24, 2018

    @kjetilk
    Member

    Great! Good to hear

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions