Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Aws Certificate manager api does not show imported certificates

While certificate manager UI shows my imported certificated with status "issued" , when trying to use it from an ELB (application lb) I get: " no certificates available " (the POST request to the api returns with empty list)

Also when I run aws acm list-certificates --max-items 10 I don't get the imported certificate , only my second (Not imported) one

Any ideas what's wrong here? is there a setting on the imported certificate I should be configuring?

like image 869
alonisser Avatar asked Sep 01 '25 01:09

alonisser


1 Answers

I know its late, but thought of sharing this update.

The default filtering of aws acm list-certificates returns only RSA_2048 certificates. If you want other certificates to be included as well, use the --include parameter and specify the the desired signature types in a comma-separated list keyTypes.

Example:

aws acm list-certificates --include keyTypes=RSA_2048,RSA_4096

This command will return both 2048 and 4096 RSA key certificate. You can refer the aws acm cli documentation here

like image 104
Ankit Rao Avatar answered Sep 02 '25 14:09

Ankit Rao