One theory says this practice came from knights lifting their visors when greeting a friend
[DOC] [TLE] Salute the Troops | From Heels to Clogs  My Adventures in Holland [PAR] Jun 9, 2015 ... A common practice among the knights of the Middle Ages developed ... a gesture 
of peace by demonstrating that one wasn't holding a weapon.