Maxwell's boundary value problem on Riemannian manifolds with nonsmooth boundaries