File --> Settings --> Tools --> Server Certificates --> Accept non-trusted certificates automatically