本文档描述了火山引擎证书中心私有CA服务中可能返回的错误码。
| 错误代码Code | 错误信息Message | 说明 |
|---|---|---|
| SystemBusy | The system is busy. Please try again later. | 系统繁忙,请稍后重试。 |
| NotFound.Resource | The specified resource is not found. | 请求中指定的资源(如证书实例、CA 实例)不存在。请检查资源 ID 或名称是否正确。 |
| Database.RecordExisted | The record already exists. No duplicate addition is allowed. | 记录已存在,不允许重复添加。通常在创建需要保证唯一性的资源时触发。 |
| Activation.Duplicate | Service is already activated | 服务已经开通,无需重复操作。 |
| Activation.NotActivated | Service is not activated | 服务尚未开通,请先在控制台开通私有CA服务。 |
| MalformedRequest | The request is malformed | 请求体格式不正确,例如 JSON 格式解析失败。请检查请求结构是否符合 API 定义。 |
| MissingParameter.%s | The required parameter %s is missing | 缺少必填参数。错误码中的占位符 %s 会被替换为具体缺失的参数名。 |
| InvalidParameter.%s | The specified parameter %s is invalid | 参数值无效。错误码中的占位符 %s 会被替换为具体无效的参数名。通常指参数格式、长度、取值范围或枚举值不正确。 |
| InternalError | The request has failed due to an unknown error | 服务端内部错误,通常为临时性问题。建议稍后重试,如果问题持续,请联系技术支持。 |
| QuotaExceeded.%s | %s has exceeded the quota. | 通用配额超限错误。占位符 %s 会被替换为具体的资源名称。请检查对应资源的配额限制。 |
| Deploy.NoPermission | Do not have permission | 操作未被授权。请检查当前身份(子用户/角色)是否已被授予相关操作的 IAM 权限策略。 |
| AccessDenied.ListRegionFailed | The specified service is not allowed to list regions. | 当前服务或账号类型不支持列举地域(Region)列表。这通常发生在特定签约类型的账号或内部环境,请联系客户经理或技术支持确认。 |
| RootInstanceStatus.Ok | The root status is ok, relevant resources do not support this operation. | 尝试对一个处于“正常”状态的根CA 执行无效操作,例如再次签发。确认操作是否适用于当前状态。 |
| RootInstanceStatus.Disable | The root status is disable, relevant resources do not support this operation. | 尝试对一个已“停用”的根 CA 执行签发、吊销等操作。停用状态为中间状态,通常不可逆,请确认 CA 状态是否符合预期。 |
| RootInstanceStatus.Revoked | The root status is Revoked, relevant resources do not support this operation. | 尝试对一个已“吊销”的根 CA 执行任何操作。CA 已吊销,所有操作均被禁止。 |
| RootInstanceStatus.Frozen | The root status is frozen, relevant resources do not support this operation. | 根 CA 已被冻结,不支持当前操作。 |
| RootInstanceStatus.Expired | The root status is expired, relevant resources do not support this operation. | 尝试对一个已“过期”的根 CA 执行操作。CA 已过期,无法再用于签发新的证书,请规划新的 CA 替代。 |
| RootInstance.SubAvailable | There are available SUBs under this ROOT | 尝试吊销一个根 CA,但其下仍存在未吊销或未过期的子 CA。在吊销根 CA 之前,必须先吊销其下属所有子 CA。 |
| SubInstanceStatus.Ok | The sub status is ok, relevant resources do not support this operation. | 尝试对一个处于“正常”状态的子 CA 执行无效操作。 |
| SubInstanceStatus.Disabled | The sub status is disabled, relevant resources do not support this operation. | 尝试对一个已“停用”的子 CA 执行签发、吊销等操作。 |
| SubInstanceStatus.Revoked | The sub status is revoked, relevant resources do not support this operation. | 尝试对一个已“吊销”的子 CA 执行任何操作。 |
| SubInstanceStatus.Frozen | The sub status is frozen, relevant resources do not support this operation. | 子 CA 已被冻结,不支持当前操作。 |
| SubInstanceStatus.Expired | The sub status is expired, relevant resources do not support this operation. | 尝试对一个已“过期”的子 CA 执行操作。 |
| SubInstance.LeafAvailable | There are available Leaf instances under this Sub | 尝试吊销一个子 CA,但其下仍存在未吊销或未过期的私有证书。 |
| LeafInstanceStatus.Ok | The leaf status is ok, relevant resources do not support this operation. | 尝试对一个“正常”状态的证书执行无效操作。 |
| LeafInstanceStatus.Revoked | The leaf status is revoked, relevant resources do not support this operation. | 证书已吊销,不支持当前操作。 |
| LeafInstanceStatus.Expired | The leaf status is expired, relevant resources do not support this operation. | 尝试对一个已“过期”的证书进行操作。 |
| InstanceStatus.Unknown | The Instance status is unknown. | 实例状态未知或异常,无法执行后续操作。请稍后重试,若问题持续,请联系技术支持。 |
| InstanceStatus.Download | The download operation is not supported in the current status | 在证书/CA 尚未就绪或处于不允许下载的状态(如创建失败)时,尝试下载。请等待实例状态变为“正常”(Ok)后再尝试下载。 |
| RootInstance.SameSerialNumberExisted | The same Serial number already exists. | 创建子 CA 时,使用的序列号已被占用。请确保序列号的唯一性。 |
| RootInstance.SameCommonNameExisted | The same CommonName already exists. | 已存在拥有相同Common Name的Root,请重新填充参数。 |
| RootInstanceStatus.SameSerialNumberExisted | Same SerialNumber already exists. | 已存在拥有相同序列号的子证书。 |
| SubInstance.SameCommonNameExisted | Same CommonName already exists. | 在同一根 CA 下创建子 CA 时,使用的 Common Name (CN) 已被占用。请更换一个新的 Common Name。 |
| LeafInstance.SameCommonNameExisted | Same CommonName already exists. | 在同一 CA 下签发证书时,使用的 Common Name (CN) 已被占用。请更换一个新的 Common Name。 |
| LeafInstance.SameSerialNumberExisted | Same SerialNumber already exists. | 签发私有证书时,使用的序列号已被占用。请确保序列号的唯一性。 |
| Instance.Upload | This operation is not supported for uploaded certificates. | 您尝试对一个通过“上传”方式导入的证书执行一个不支持的操作(如吊销)。私有 CA 服务无法管理外部签发的证书生命周期。 |
| Invalid.CertificateType | The imported certificate is not end entity certificate. | 上传的证书类型不正确。 |
| InsufficientQuota.Leaf | Insufficient leaf quota | 私有证书配额不足。请前往控制台购买更多配额,或等待已有证书过期释放配额。 |
| InsufficientQuota.Upload | Insufficient Upload quota | 上传证书的配额不足。请前往控制台购买更多配额。 |
| UnsupportedQuotaPlan.Pro | Instances of the Pro specification do not support the use of quotas. | Pro 规格的 CA 实例不支持通过“配额包”进行抵扣。 |
| NotFound.Project | The specified project is not found | 请求中指定的项目(Project)不存在。通常是由于 IAM 子用户没有被授予该项目的访问权限,或项目已被删除。 |
| Volcano.Order | Unknown Error While Revoking Volcano Order | 调用火山引擎订单服务发生未知错误。这可能发生在退款、吊销等涉及计费与订单状态变更的场景。建议稍后重试。 |
Certificate.InvalidChain | The certificate chain is invalid. | 提供的证书链不合法。请检查:
|
| Certificate.KeyPairNotMatch | The public-private key pair does not match. | 提供的证书(公钥)与私钥不匹配。请检查是否为证书上传了正确的私钥文件。 |