Why does an iOS server-side request return 'The certificate is revoked'?

更新时间:
复制 MD 格式

Problem description

An iOS server-side request returns the error The certificate is revoked.

The request returns the following error message: com.aliyuncs.exceptions.ClientException: CertificateRevoked : The certificate is revoked.

Solution

This error occurs because the certificate is revoked. To resolve this issue, check the EMAS console to see if the certificate has expired, or upload a new certificate.

Note: When you upload a certificate, set a password and click the Validate Certificate button. After the validation is successful, click the OK button. The certificate takes effect only after you complete these steps.