Feature/support self signed certs