Skip to content

Commit 33fb5af

Browse files
committed
Add curl instructions
1 parent 79d696d commit 33fb5af

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,26 @@ To configure Git to trust a Cloudflare certificate, run the following command:
482482
git config --global http.sslcainfo [PATH_TO_CLOUDFLARE_CERT]
483483
```
484484

485+
### cURL
486+
487+
In most cases, cURL will use your system's native certificate store. To force cURL to use your default certificate, add the the `--ca-native` flag. For example:
488+
489+
```curl
490+
curl --ca-native https://example.com
491+
```
492+
493+
#### cURL on macOS
494+
495+
To use a Cloudflare root certificate with cURL on macOS, [install the certificate to the operating system keychain](#macos).
496+
497+
#### cURL on Windows
498+
499+
To use a Cloudflare certificate with the version of cURL preinstalled on Windows or another version that uses the Schannel (WinSSL) backend, [install the certificate to the Windows certificate store](#windows).
500+
501+
#### cURL on Linux
502+
503+
To use a Cloudflare root certificate with cURL on Linux, [install the certificate to your distro's certificate store](#linux).
504+
485505
### npm
486506

487507
1. [Download a Cloudflare certificate](#download-the-cloudflare-root-certificate) in `.pem` format.

0 commit comments

Comments
 (0)