swills
(Steve Wills)
November 20, 2015, 2:31pm
1
I’m running my own discovery server and using a self signed cert with it. However when my client tries to connect, it won’t accept the cert. I turned on tracing discovery and it logs this message:
announce POST: Post https://my.discovery.server:8443/: x509: certificate signed by unknown authority
How can I make it accept the cert?
Thanks!
calmh
(Jakob Borg)
November 20, 2015, 2:34pm
2
When starting, the server outputs it’s device ID. Give that to the client as part of the relay URL - https://my.discovery.server:8443/?id=ABCD123-...
.
1 Like
swills
(Steve Wills)
November 20, 2015, 3:10pm
3
That worked, thanks! Is this documented somewhere that I missed? Also, it seems sort of odd, I wonder if there’s some way to give the CA cert…
calmh
(Jakob Borg)
November 20, 2015, 3:14pm
4
Indeed it is, in the doc article that you should have been following. http://docs.syncthing.net/users/discosrv.html#certificates
You can also give it a “real” CA-signed cert and not do the device ID business, yes.
1 Like
swills
(Steve Wills)
November 20, 2015, 3:16pm
5
Ah, I knew I was missing something! Thanks!
1 Like
system
(system)
Closed
December 20, 2015, 3:17pm
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.