Fix ssl connection.