From 36be39481d680df30e2a1b24deb7a3558eeb882d Mon Sep 17 00:00:00 2001 From: Max Phillips Date: Thu, 14 Nov 2024 16:27:27 -0600 Subject: [PATCH 1/3] Update AWS procedure --- .../warp/user-side-certificates/manual-deployment.mdx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/content/docs/cloudflare-one/connections/connect-devices/warp/user-side-certificates/manual-deployment.mdx b/src/content/docs/cloudflare-one/connections/connect-devices/warp/user-side-certificates/manual-deployment.mdx index b9255a0b7618fc..a6e9f82adc64c8 100644 --- a/src/content/docs/cloudflare-one/connections/connect-devices/warp/user-side-certificates/manual-deployment.mdx +++ b/src/content/docs/cloudflare-one/connections/connect-devices/warp/user-side-certificates/manual-deployment.mdx @@ -589,7 +589,11 @@ Google Apps Manager (GAM) uses its own certificate store. To add a Cloudflare ce ### AWS CLI -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). +If you are using the AWS CLI, you need to set the `AWS_CA_BUNDLE` environment variable to use a Cloudflare root certificate: + +1. [Download a Cloudflare certificate](#download-the-cloudflare-root-certificate) in `.pem` format. +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. +3. Restart your terminal. ### PHP Composer From fbfac1f3388e811b12c84aacc81bfbdaa355f326 Mon Sep 17 00:00:00 2001 From: Max Phillips Date: Thu, 14 Nov 2024 16:41:03 -0600 Subject: [PATCH 2/3] Add global config --- .../manual-deployment.mdx | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/content/docs/cloudflare-one/connections/connect-devices/warp/user-side-certificates/manual-deployment.mdx b/src/content/docs/cloudflare-one/connections/connect-devices/warp/user-side-certificates/manual-deployment.mdx index a6e9f82adc64c8..30efd2e2d3757f 100644 --- a/src/content/docs/cloudflare-one/connections/connect-devices/warp/user-side-certificates/manual-deployment.mdx +++ b/src/content/docs/cloudflare-one/connections/connect-devices/warp/user-side-certificates/manual-deployment.mdx @@ -591,10 +591,34 @@ Google Apps Manager (GAM) uses its own certificate store. To add a Cloudflare ce If you are using the AWS CLI, you need to set the `AWS_CA_BUNDLE` environment variable to use a Cloudflare root certificate: + + + +To persistently set this value: + +1. [Download a Cloudflare certificate](#download-the-cloudflare-root-certificate) in `.pem` format. +2. Locate and open your [AWS configuration file](https://docs.aws.amazon.com/cli/v1/userguide/cli-configure-files.html#cli-configure-files-where). +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: + + ```diff lang="ini" title=".aws\config" + [default] + region = us-west-1 + + +ca_bundle = C:\certificate.pem + ``` + + + + +To set the environment variable once: + 1. [Download a Cloudflare certificate](#download-the-cloudflare-root-certificate) in `.pem` format. 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. 3. Restart your terminal. + + + ### PHP Composer 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. From 83bb80023f889b2030eb1e2243fba264f3a69b94 Mon Sep 17 00:00:00 2001 From: Max Phillips Date: Thu, 14 Nov 2024 16:47:17 -0600 Subject: [PATCH 3/3] Refine instructions --- .../warp/user-side-certificates/manual-deployment.mdx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/content/docs/cloudflare-one/connections/connect-devices/warp/user-side-certificates/manual-deployment.mdx b/src/content/docs/cloudflare-one/connections/connect-devices/warp/user-side-certificates/manual-deployment.mdx index 30efd2e2d3757f..830d47b678de95 100644 --- a/src/content/docs/cloudflare-one/connections/connect-devices/warp/user-side-certificates/manual-deployment.mdx +++ b/src/content/docs/cloudflare-one/connections/connect-devices/warp/user-side-certificates/manual-deployment.mdx @@ -589,12 +589,12 @@ Google Apps Manager (GAM) uses its own certificate store. To add a Cloudflare ce ### AWS CLI -If you are using the AWS CLI, you need to set the `AWS_CA_BUNDLE` environment variable to use a Cloudflare root certificate: +To use a Cloudflare root certificate with AWS CLI, configure it in your AWS configuration files: -To persistently set this value: +To persistently set the location of the certificate: 1. [Download a Cloudflare certificate](#download-the-cloudflare-root-certificate) in `.pem` format. 2. Locate and open your [AWS configuration file](https://docs.aws.amazon.com/cli/v1/userguide/cli-configure-files.html#cli-configure-files-where). @@ -607,10 +607,12 @@ To persistently set this value: +ca_bundle = C:\certificate.pem ``` +4. Restart your terminal. + -To set the environment variable once: +To set the location of the certificate for use as an environment variable: 1. [Download a Cloudflare certificate](#download-the-cloudflare-root-certificate) in `.pem` format. 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.