The draw took place on June 22 in Nyon, Switzerland.
Wards of Oleg Kononov will play with the Swiss “Tun”.
The first match will take place on August 8 in Switzerland, and the return match - on August 15 in Moscow.
Earlier it was reported that Krasnodar will play with Porto in the third qualifying round of the Champions League.