Aymkdn / assistant-freebox-cloud

Assistant Freebox in the Cloud
74 stars 14 forks source link

Android CertPathValidatorException when sending TLS True #132

Closed techie-gabbar closed 2 years ago

techie-gabbar commented 2 years ago
 var options = {
              port: 6467,
              host: host,
              tls: true,
              tlsCheckValidity: false,
              tlsCert: require('./public-cert.pem')
         }

            const client = TcpSocket.createConnection(options, () => {
              console.log("Connccted");
            });

When sending above thing in Android. Than Below Error is coming. Can u please help. The public-cert.pem is in my root react native project.

ERROR: "java.security.cert.CertPathValidatorException: Trust anchor for certification path not found."

@Aymkdn Please Help

Aymkdn commented 2 years ago

Unfortunately it's barely impossible for me to help with this kind of error, and again this repo is not for this kind of support. Please, use StackOverflow to ask your questions.