You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/cloudflare-one/connections/connect-devices/warp/user-side-certificates/manual-deployment.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -435,15 +435,15 @@ To install a certificate for use in a Docker container:
435
435
└── certificate.pem
436
436
```
437
437
438
-
4. Add the certificate to your Docker container:
438
+
4. Add the certificate to your Docker image:
439
439
440
440
<Tabs> <TabItemlabel="During build process">
441
441
442
442
To add the certificate to your Dockerfile to install it during the build process:
443
443
444
444
1. Add the certificate install directions to your Dockerfile. For example:
445
445
446
-
```docker title="Red Hat-based containers"
446
+
```docker title="Red Hat-based images"
447
447
FROM registry.access.redhat.com/ubi9/ubi:latest
448
448
# Or FROM centos:7 or FROM fedora:38
449
449
@@ -455,7 +455,7 @@ To install a certificate for use in a Docker container:
455
455
RUN update-ca-trust extract
456
456
```
457
457
458
-
```docker title="Debian-based containers"
458
+
```docker title="Debian-based images"
459
459
FROM debian:12
460
460
# Or FROM ubuntu:22.04
461
461
@@ -467,7 +467,7 @@ To install a certificate for use in a Docker container:
467
467
RUN update-ca-certificates
468
468
```
469
469
470
-
```docker title="Alpine-based containers"
470
+
```docker title="Alpine-based images"
471
471
FROM alpine:3.18
472
472
473
473
# Install necessary certificates package
@@ -478,19 +478,19 @@ To install a certificate for use in a Docker container:
478
478
RUN update-ca-certificates
479
479
```
480
480
481
-
2. Build the Docker container:
481
+
2. Build the Docker image:
482
482
483
483
```sh
484
484
docker build -t <your-container-name>.
485
485
```
486
486
487
487
3. Verify the certificate was installed:
488
488
489
-
```sh title="Red Hat-based containers"
489
+
```sh title="Red Hat-based images"
490
490
docker run --rm your-image-name sh -c "cat /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem | grep Cloudflare"
491
491
```
492
492
493
-
```sh title="Debian and Alpine-based containers"
493
+
```sh title="Debian and Alpine-based images"
494
494
docker run --rm your-image-name sh -c "cat /etc/ssl/certs/certificate.pem"
0 commit comments