matrix-org / matrix-federation-tester

Tester for matrix federation written in golang.
77 stars 17 forks source link

Does certificate error prevent other servers from getting room information? #138

Closed JeanPaulLucien closed 1 year ago

JeanPaulLucien commented 1 year ago

I checked server matrix.heiming.info using https://federationtester.matrix.org and I got the text below:

There was an error looking up homeserver version information: Get "matrix://matrix.heiming.info/_matrix/federation/v1/version": x509: certificate has expired or is not yet valid: current time 2023-06-19T13:59:49Z is after 2023-04-25T19:38:21Z
WARN: Could not find a valid certificate for 77.10.65.228:8448. See [this documentation](https://github.com/matrix-org/synapse/blob/master/docs/MSC1711_certificates_FAQ.md#configuring-certificates-for-compatibility-with-synapse-100) for instructions on how to fix this.
ERROR: on 77.10.65.228:8448: x509: certificate has expired or is not yet valid: current time 2023-06-19T13:59:49Z is after 2023-04-25T19:38:21Z

I have registered successful on this server, but it does not display rooms from other Matrix servers. Is that because certificate has expired?

As I know this error allows you to register, sign in. I would to add information for what issues erros with cert is reason.

t3chguy commented 1 year ago

@JeanPaulLucien clients can ignore TLS issues (you can manually ignore them in a web browser for example) but servers will not ignore them. So yes the expired cert is likely to blame for your broken federation, though it may not be the only thing.