The future gamma-ray experiment CTA plans to measure the fluxes of blazars in the energy range from 30 GeV to 100 TeV with sensitivity 10 times superior to present measurements. Intergalactic magnetic fields can be measured through observations of the secondary photons through time delay in blazar flairs, signatures in spectra and extended emission around the point sources.