Skip to content

Commit fbfac1f

Browse files
committed
Add global config
1 parent 36be394 commit fbfac1f

File tree

1 file changed

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

1 file changed

+24
-0
lines changed

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,10 +591,34 @@ Google Apps Manager (GAM) uses its own certificate store. To add a Cloudflare ce
591591

592592
If you are using the AWS CLI, you need to set the `AWS_CA_BUNDLE` environment variable to use a Cloudflare root certificate:
593593

594+
<Tabs>
595+
<TabItem label="Global config">
596+
597+
To persistently set this value:
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+
</TabItem>
611+
<TabItem label="Environment variable">
612+
613+
To set the environment variable once:
614+
594615
1. [Download a Cloudflare certificate](#download-the-cloudflare-root-certificate) in `.pem` format.
595616
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.
596617
3. Restart your terminal.
597618

619+
</TabItem>
620+
</Tabs>
621+
598622
### PHP Composer
599623

600624
The command below will set the [`cafile`](https://getcomposer.org/doc/06-config.md#cafile) configuration inside of `composer.json` to use the Cloudflare root certificate. Make sure to [download the certificate](#download-the-cloudflare-root-certificate) in the `.pem` file type.

0 commit comments

Comments
 (0)