ca_bundle - AWS SDKs and Tools


Specifies the path to a custom certificate bundle (a file with a .pem extension) to use when establishing SSL/TLS connections.


The AWS SDKs and tools that support this setting include a CA bundle that they will use by default. But you can set this value to use a different CA bundle.

Ways to set this value

Location Supported Example
config file Yes
ca_bundle = dev/apps/ca-certs/cabundle-2019mar05.pem
credentials file -
Environment variable Yes Linux/macOS
export AWS_CA_BUNDLE=/dev/apps/ca-certs/cabundle-2019mar05.pem
setx AWS_CA_BUNDLE C:\dev\apps\ca-certs\cabundle-2019mar05.pem
AWS CLI parameter Yes
--ca-bundle /dev/apps/ca-certs/cabundle-2019mar05.pem

Compatibility with AWS SDKS and tools