I've imported a x509 certificate with ECDSA P256 key into ACM.
I want to use this certificate in my application by Nitro Enclave.
I'm following this link to create the configurations.
https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave-refapp.html
But when I'm running command : aws ec2 --region region associate-enclave-certificate-iam-role --certificate-arn certificate_ARN --role-arn role_ARN
I met a error: An error occurred (InvalidCertificateArn.Malformed) when calling the AssociateEnclaveCertificateIamRole operation: The request must contain a valid certificate arn
I've confirmed the arn is correct by using 'aws acm descritbe-certificate --certificate-arn'