Using HTTPS with the AWS CLI

Use this procedure to send ssl requests from the AWS CLI using self-signed certificates.


  1. Copy the hedvigs3.crt file (generated in Setting Up an HTTPS-supported S3 Service) to the S3 client where the AWS CLI is installed.

  2. Use the following command line request template to send HTTPS requests:

    aws s3api --endpoint https://<hostname>:<port> --ca-bundle <certificate_file_path> <rest of the command>