Trying to debug ssl errors