CLOUD-146 certificate download fix