Harambee Stars narrowly lost 1-0 to Ghana in their final Afcon 2019 Group F qualifier played at Accra Sports Stadium on Saturday.
The Kenyan boys kept the Black Stars at bay for the better part of the game till 82nd minute when debutant Caleb Ekuban beat beat Patrick Matasi with a low shot.
The victory is a sweet revenge for Ghana who fell by a similar margin in the first leg in Nairobi.
Kenya finish second in the group on 7 points, two behind winners Ghana, while Ethiopia finish third.
Both teams have qualified for the 2019 Afcon set for Egypt in June/July.