Skip to content

Problem to connect to WebSocketSecure with a domain let'sEncrypt certificate #261

Closed

Description

@Fabick75

Hi,
I've set an home server with Aria2 daemon behind an nginx with reverse proxying of /jsonrpc via 443 port. I've found online indications and this works perfectly with a web frontend like AriaNG .
But with your client, when i set the parameters to connect to /jsonrpc via 443 this spit out some errors and not connect.

I've tryed enabling ad not enabling the flag on "Enable TLS/SSL encryption" from interface.

First of all, if I set connection via wss (wss://:443/jsonrpc) this give two errors :

282: host if offline
284: java.security.cert.CertPathValidationException: trust anchor for certification path not found

If I try with HTTP (but this I know that don't work, because don't work neither with AriaNG) this give me a correct response from "Host online" and http test, but then starts an unauthenticated test request (but I've set an authentication token in my server) and spit out the error :

323: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidationException: trust anchor for certification path not found

there are changes to resolve this?

Activity

  1. Repository owner locked and limited conversation to collaborators on Apr 21, 2023
  2. converted this issue into a discussion #262 on Apr 21, 2023
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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions