Celtic will face Qarabag of Azerbaijan or Rudar Pljevlja of Montenegro if they overcome Stjarnan in Iceland on Wednesday.
Ronny Deila's side lead 2-0 from the first leg at Parkhead and discovered their potential Champions League third-qualifying round opponents this morning.
Qarabag and Rudar Pljevlja drew 0-0 in Azerbaijan in midweek and Celtic or Stjarnan will meet the winners on July 28/29 and August 4/5.
Celtic FC (SCO)/Stjarnan (ISL) v QarabaÄŸ FK (AZE)/FK Rudar Pljevlja (MNE)