For general information on SSH tunnel, SSL/TLS and truststores please check the security section in the users guide.