Always overwrite the cert file.