change enableSSLCaInfo parameter to const string reference