Fix server error at certificate upload.