Page 1 of 1

x509 certificate error

Posted: Fri Oct 25, 2024 4:07 pm
by fernan

Hello. I'm having a problem in my Tahrpup install, Syncthing app stopped working in this macine, reading the Log file points to a problem with an x509 certificate.

I understand this error is OS related, not related to Syncthing.

This is the error message:

listenerSupervisor@dynamic+https://relays.syncthing.net/endpoint: service dynamic+https://relays.syncthing.net/endpoint failed: Get "https://relays.syncthing.net/endpoint": tls: failed to verify certificate: x509: certificate signed by unknown authority

Is there a way to update this certificate, or fix this error?

Thanks very much.


Re: x509 certificate error

Posted: Fri Nov 01, 2024 2:53 pm
by Jasper

@fernan

This seems to be an issue with OpenSSL.

Did you have to create your own certificate and self-sign it?


Re: x509 certificate error

Posted: Wed Nov 06, 2024 11:02 am
by fernan

I followed some instructions found in this forum to update the certificate, running the command

Code: Select all

update-ca-certificates

but I didn't create any new certificates.


Re: x509 certificate error

Posted: Wed Nov 06, 2024 1:18 pm
by dimkr

You'll need to grab a new ca-certificates package from a recent distro and unpack it manually to /, then run update-ca-certificates. The certificates you have are way too old to browse the web in 2024.