Due to Android policy change, some ankidroid versions need an https transport.
Ankisyncd allow the use of self-signed certicates
that enable more secure connection
such as in semi-open LAN environment.
This requires the syncserver to be compiled with the tls
feature (pass --feature tls
to cargo when building).
We recommend mkcert for easy ssl certs setup.
Open ankisyncd.toml
with a text editor
and modify following lines to enable and set certificates paths:
#make ssl_enable true
ssl_enable=false
# put cert and key file path
cert_file=""
key_file=""