-
|
Hello, I upgraded syncthing to 1.29, which moved the default configuration files from ~/.config/syncthing to ~/.local/state/syncthing . Perhaps foolishly, I moved that directory over. Syncthing itself seems to be working excellently, but syncthingctl is having trouble finding the certificate for the control endpoint. I'd like to get syncthingctl working, so I'd like to know if there were an easy way to troubleshoot where syncthinctl is looking for the certificate. Caveats: The only major difference I can see between the functioning machine and the nonfunctioning one is that the working one has a (obviously redacting most of that section). It seems unlikely that I would need to create a similar file on the headless server, since it already seems to be finding the syncthing port just fine (the error message shows the syncthing-generated certificate, it just doesn't like it: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
Please file only tickets against the latest release¹. I don't have the time to support older versions. I can still give a few general hints:
¹ I just see that this is actually just a "discussion". I'd still recommend using the latest version. |
Beta Was this translation helpful? Give feedback.
Thank you, this last comment got me to put it all together.
With the url specified as my ipv4 address, it works. Specified by the hostname as the url it does not.
I'm guessing a name comparison is being performed. Specifically, because the error message says:
Error: TLS error: The host name did not match any of the valid hosts for this certificate (22)That's not the whole story though: if I replace my fqdn with just the host name, I'm left with only the final error:
Error: TLS error: The certificate is self-signed, and untrusted (9)Presumably, there is some path that is ok with self-signed certificates only if it is for an IP address. The issue is caused by specifying a domain name in t…