Portugal were slow to find their feet, taking 20 minutes to get Ronaldo involved with a free-kick struck into the wall, the Madrid man then cannoning a fine left-footed effort off the crossbar when the ball broke his way again following a half-cleared cross.
Portugal's defender Pepe scored a goal in the 21st minute of the game but the goal was disallowed for offside on review.
The result leaves both sides tied for second place in Group A, behind hosts Russian Federation who top the group after beating New Zealand 2-0 on Saturday in St. Petersburg.
Portugal had closed ranks around their captain, and it is perfectly understandable: They are here to win the tournament.
London tower fire: 58 people missing presumed dead, say police
Khan said images of the 1970's building being ravaged by fire "should be forever seared into our nation's collective memory". The tragedy cast a pall on the Trooping the Color festivities that mark the official birthday of Queen Elizabeth II .
Having threatened with a header earlier, Hernandez stole in to head home an equaliser three minutes from the interval.
Portugal has lost just twice since their Euro Cup victory last summer in Paris and, after announcing they expect a full strength roster for the Confederations, seem poised to continue their dominance.
The teams will meet on Sunday at 11 a.m. ET (4 p.m. BST) in tournament opener for both teams.
Ronaldo obliged after Carlos Salcedo made an error to allow him in on goal before finding Quaresma in acres of space who collected the ball calmly before waltzing past Guillermo Ochoa to score the opener.
(AP Photo/Thanassis Stavrakis). Portugal's Cristiano Ronaldo plays with the ball during a training session at Kazan Arena in Kazan, Russia, on Saturday, June 17, 2017.
Former New York Red Bulls Head Coach Juan Carlos Osorio has enjoyed great success with Mexico in his two years in charge of the national team. "But we have to be careful because I don't think people understand this new rule really well". Mexico dominated possession, with 61 percent over the 90 minutes, but it was Portuguese who looked to have more punch.
Whether it was the right flank in the first half or the left in the second half, Quaresma was quite easily the most menacing of attacking players for Portugal ahead of the much fancied Ronaldo. "If we win we're one step away".