Closed massi-ang closed 4 years ago
AWS CLI v2 changes the way that b64 encoded files are read (https://docs.aws.amazon.com/cli/latest/userguide/cliv2-migration.html#cliv2-migration-binaryparam) and that breaks the acm import-certificate command syntax used in the examples.
acm import-certificate
The correct way to import certificates in the v2 CLI is:
aws acm import-certificate --certificate fileb://... --private-key fileb://...
This works also in v1.
The changes have been incorporated into the documentation.
AWS CLI v2 changes the way that b64 encoded files are read (https://docs.aws.amazon.com/cli/latest/userguide/cliv2-migration.html#cliv2-migration-binaryparam) and that breaks the
acm import-certificate
command syntax used in the examples.The correct way to import certificates in the v2 CLI is:
aws acm import-certificate --certificate fileb://... --private-key fileb://...
This works also in v1.