Ghana will battle it out against Niger in the first semi-final in Port Gentil on Wednesday 24 May.
In the second semis, Mali takes on Guinea at the Stade de l’Amitie Sono-Gabonaise in Libreville on Wednesday, kick-off at 19h30 CAT for a place in the final of the 2017 Africa U-17 Cup of Nations.
Guinea and Ghana were the first two sides to book their semi-finals slots.
The Guineans played to a 0-0 draw against Ghana in their final match of Group A in Libreville at the Stade de I’Amitie Sino-Gabonaise on Saturday night.
The point was enough for Guinea to finish as group runners-up and secure a place at the World Cup in India in October.
Niger and Mali secured their place in the semi-finals on Sunday in Gabon and also qualify for the Fifa World Cup in India in October.
In the final Group B matches, Niger beat Tanzania 1-0 in a tense encounter in Port Gentil to go second in the group, above Tanzania on goal-difference.
In Libreville, group leaders and defending African champions Mali booked their place with a 6-1 win over Angola.
The semi-final winners will advance to the final at the same venue in Libreville.