The Glasgow-born former Celtic player came on for Damian Duff at the start of the second-half, turning in a superb performance.
He hit the post with a volley before providing excellent chances for Walters, including one in the 74th minute which saw his header crash off the bar.
But Aiden’s cross in the 78th minute which allowed fellow sub Shane Long to rise at the back post and head home the winner.
James McClean had a superb game for Ireland.
The Derry man and Sunderland star turned in a great performance – and giving Giovanni Trapattoni a Euro 2012 selection dilemma.
Today’s win was the perfect build-up for next month’s games in Poland.
And there was a good turn-out as well – more than 37,000 at the Aviva for today’s friendly.
Lifford man Shay Given sat out the game; but joined players in say thanks after the game (pictured below).
Ireland (4-4-2): Westwood; McShane (Kelly 78), Dunne (St Ledger 70), O’Dea, Ward; Duff (McGeady 46), Gibson, Whelan (Andrews 46), McClean; Keane (Long 63), Doyle (Walters 63).
Subs: Forde (g), Kelly, Hunt, Cox, Fahey.
Scorer: Long (78).
Bosnia-Herzegovina (4-4-2): Begovic; Medunjanin (Vrancic 46), Pandza, Jahic, Mujdza (Zahirovic 56); Pjanic, Misimovic (Alispahic 82), Rahimic (Stevanovic 46), Lulic; Dzeko, Ibisevic (Vranjes 70).
Subs: Sehic (g), Ibricic, Svraka.
Referee: N. Haenni (Switzerland)