如何解決當我嘗試刪除 ACM 憑證時出現的 "The certificate is in use" 錯誤?

1 分的閱讀內容
0

我嘗試刪除我的 AWS Certificate Manager (ACM) 憑證。但收到錯誤 "The certificate is in use and cannot be deleted.Disassociate the certificate from each resource in the list and try again."

解決方法

若要取消 ACM 憑證與 CloudFront 發行版或 Application Load Balancer 的關聯,請取代與自訂網域關聯的 ACM 憑證。或者,刪除自訂網域。

若要檢查與 ACM 憑證相關聯的資源,请使用 AWS Command Line Interface (AWS CLI) 執行 describe-certificate 命令。

**注意:**如果您在執行 AWS CLI 命令時收到錯誤,請參閱對 AWS CLI 錯誤進行疑難排解。此外,請確定您使用的是最新的 AWS CLI 版本

若要取消 ACM 憑證的關聯,請執行下列其中一個動作:

然後,刪除 ACM 憑證

**注意:**如果您刪除了自訂網域、發行版或負載平衡器,則可能無法刪除 ACM 憑證。如果您無法刪除 ACM 憑證,請聯絡 AWS Support

相關資訊

Gateway API 問題

與 AWS Certificate Manager 整合的服務