This paper summarizes recent progresses in our theoretical understanding of particle acceleration at relativistic shock waves and it discusses two salient consequences: (1) the maximal energy of accelerated particles; (2) the impact of the shock-generated micro-turbulence on the multi-wavelength light curves of gamma-ray burst afterglows.