set up secure connection to gems source