Added downloading of certificates.