Skip to content

Commit 40dac23

Browse files
authored
[ZT] Update AWS CLI cert (#18195)
1 parent cda6db0 commit 40dac23

File tree

1 file changed

+31
-1
lines changed
  • src/content/docs/cloudflare-one/connections/connect-devices/warp/user-side-certificates

1 file changed

+31
-1
lines changed

src/content/docs/cloudflare-one/connections/connect-devices/warp/user-side-certificates/manual-deployment.mdx

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,37 @@ Google Apps Manager (GAM) uses its own certificate store. To add a Cloudflare ce
589589

590590
### AWS CLI
591591

592-
If you're using the AWS CLI, you need to set the `AWS_CA_BUNDLE` environment variable to use a Cloudflare root certificate. Commands are available for different operating systems in the [AWS instructions](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html).
592+
To use a Cloudflare root certificate with AWS CLI, configure it in your AWS configuration files:
593+
594+
<Tabs>
595+
<TabItem label="Global config">
596+
597+
To persistently set the location of the certificate:
598+
599+
1. [Download a Cloudflare certificate](#download-the-cloudflare-root-certificate) in `.pem` format.
600+
2. Locate and open your [AWS configuration file](https://docs.aws.amazon.com/cli/v1/userguide/cli-configure-files.html#cli-configure-files-where).
601+
3. Configure the [`ca_bundle` setting](https://docs.aws.amazon.com/cli/v1/userguide/cli-configure-files.html#cli-configure-files-settings) with the location of your certificate. For example:
602+
603+
```diff lang="ini" title=".aws\config"
604+
[default]
605+
region = us-west-1
606+
607+
+ca_bundle = C:\certificate.pem
608+
```
609+
610+
4. Restart your terminal.
611+
612+
</TabItem>
613+
<TabItem label="Environment variable">
614+
615+
To set the location of the certificate for use as an environment variable:
616+
617+
1. [Download a Cloudflare certificate](#download-the-cloudflare-root-certificate) in `.pem` format.
618+
2. In a terminal, set the [`AWS_CA_BUNDLE` environment variable](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html) to the location of your certificate depending on your operating system.
619+
3. Restart your terminal.
620+
621+
</TabItem>
622+
</Tabs>
593623

594624
### PHP Composer
595625

0 commit comments

Comments
 (0)