Add support self-signed certificates