Skip to content

Commit 77f6cbf

Browse files
committed
Switch details to tabs
1 parent 441d9b7 commit 77f6cbf

File tree

1 file changed

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

1 file changed

+30
-24
lines changed

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

Lines changed: 30 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ sha256 Fingerprint=F5:E1:56:C4:89:78:77:AD:79:3A:1E:83:FA:77:83:F1:9C:B0:C6:1B:5
7777

7878
Some applications require a certificate formatted in the `.cer` file type. You can convert your downloaded certificate using [OpenSSL](https://www.openssl.org/):
7979

80-
<Details header="macOS and Linux">
80+
<Tabs>
81+
<TabItem label="macOS and Linux" icon="seti:shell">
8182

8283
1. [Install OpenSSL](https://wiki.openssl.org/index.php/Compilation_and_Installation).
8384
2. [Download a Cloudflare certificate](#download-the-cloudflare-root-certificate) in `.pem` format.
@@ -86,9 +87,9 @@ Some applications require a certificate formatted in the `.cer` file type. You c
8687
openssl x509 -inform PEM -in ~/Downloads/certificate.pem -outform DER -out ~/Downloads/certificate.cer
8788
```
8889

89-
</Details>
90+
</TabItem>
9091

91-
<Details header="Windows">
92+
<TabItem label="Windows" icon="seti:windows">
9293

9394
1. [Install OpenSSL for Windows](https://slproweb.com/products/Win32OpenSSL.html).
9495
2. [Download a Cloudflare certificate](#download-the-cloudflare-root-certificate) in `.pem` format.
@@ -97,7 +98,8 @@ Some applications require a certificate formatted in the `.cer` file type. You c
9798
openssl x509 -inform PEM -in "$HOME\Downloads\certificate.pem" -outform DER -out "$HOME\Downloads\certificate.cer"
9899
```
99100

100-
</Details>
101+
</TabItem>
102+
</Tabs>
101103

102104
## Add the certificate to operating systems
103105

@@ -114,7 +116,6 @@ In macOS, you can choose the keychain in which you want to install the certifica
114116
To install a Cloudflare certificate in macOS, you can use either the Keychain Access application or a terminal. Both methods require you to [download a certificate](#download-the-cloudflare-root-certificate) in `.crt` format.
115117

116118
<Tabs>
117-
118119
<TabItem label="Keychain Access">
119120

120121
1. Download a Cloudflare certificate.
@@ -148,7 +149,6 @@ echo | sudo tee -a /etc/ssl/cert.pem < Cloudflare_CA.pem
148149
The root certificate is now installed and ready to be used.
149150

150151
</TabItem>
151-
152152
</Tabs>
153153

154154
:::note[Change certificate access scope]
@@ -525,7 +525,8 @@ If you use Kaniko with Google Cloud SDK, you must install a Cloudflare certifica
525525

526526
To trust the Cloudflare root certificate in the Google Drive desktop application, follow the procedure for your operating system. These steps require you to [download the .pem certificate](#download-the-cloudflare-root-certificate).
527527

528-
<Details header="macOS">
528+
<Tabs>
529+
<TabItem label="macOS" icon="apple">
529530

530531
1. In the Finder menu bar, go to **Go** > **Go to Folder**. Enter `/Applications/Google Drive.app/Contents/Resources`.
531532

@@ -549,9 +550,9 @@ You can verify the update with the following command.
549550
defaults read /Library/Preferences/com.google.drivefs.settings
550551
```
551552

552-
</Details>
553+
</TabItem>
553554

554-
<Details header="Windows">
555+
<TabItem label="Windows" icon="seti:windows">
555556

556557
1. In File Explorer, go to `\Program Files\Google\Drive File Stream\<version>\config\`.
557558

@@ -575,7 +576,8 @@ You can verify the update with the following command.
575576
reg QUERY "HKEY_LOCAL_MACHINE\Software\Google\DriveFS" /v TrustedRootCertsFile"
576577
```
577578

578-
</Details>
579+
</TabItem>
580+
</Tabs>
579581

580582
For more information, refer to the [Google documentation](https://support.google.com/a/answer/7644837) for the `TrustedRootCertsFile` setting.
581583

@@ -633,7 +635,8 @@ To install the Cloudflare root certificate on Eclipse IDE for Java Developers, y
633635

634636
3. Add the Cloudflare certificate to Eclipse's JVM:
635637

636-
<Details header="macOS and Linux">
638+
<Tabs>
639+
<TabItem label="macOS and Linux" icon="seti:shell">
637640

638641
1. In a terminal, add the `java.home` value you copied as an environment variable.
639642

@@ -649,33 +652,35 @@ To install the Cloudflare root certificate on Eclipse IDE for Java Developers, y
649652

650653
3. Restart Eclipse.
651654

652-
</Details>
655+
</TabItem>
653656

654-
<Details header="Windows">
657+
<TabItem label="Windows" icon="seti:windows">
655658

656659
1. In a terminal, add the `java.home` value you copied as an environment variable.
657660

658-
```powershell
659-
set JAVA_HOME="\path\to\java.home"
660-
```
661+
```powershell
662+
set JAVA_HOME="\path\to\java.home"
663+
```
661664

662665
2. Run `keytool` to install and trust the Cloudflare certificate.
663666

664-
```powershell
665-
"%JAVA_HOME%\bin\keytool.exe" -import -file "%UserProfile%\Downloads\Cloudflare_CA.crt" -alias CloudflareRootCA -keystore "%JAVA_HOME%\lib\security\cacerts" -storepass changeit -trustcacerts -noprompt
666-
```
667+
```powershell
668+
"%JAVA_HOME%\bin\keytool.exe" -import -file "%UserProfile%\Downloads\Cloudflare_CA.crt" -alias CloudflareRootCA -keystore "%JAVA_HOME%\lib\security\cacerts" -storepass changeit -trustcacerts -noprompt
669+
```
667670

668671
3. Restart Eclipse.
669672

670-
</Details>
673+
</TabItem>
674+
</Tabs>
671675

672676
For more information on adding certificates to Eclipse with `keytool`, refer to [IBM's documentation](https://www.ibm.com/docs/en/ram/7.5.4?topic=client-adding-server-public-certificate-eclipse).
673677

674678
### RubyGems
675679

676680
To trust the Cloudflare root certificate in RubyGems, follow the procedure for your operating system. These steps require you to [download a `.pem` certificate](#download-the-cloudflare-root-certificate).
677681

678-
<Details header="macOS and Linux">
682+
<Tabs>
683+
<TabItem label="macOS and Linux" icon="seti:shell">
679684

680685
1. Install [OpenSSL](https://www.openssl.org/).
681686

@@ -699,9 +704,9 @@ To trust the Cloudflare root certificate in RubyGems, follow the procedure for y
699704

700705
5. Restart RubyGems.
701706

702-
</Details>
707+
</TabItem>
703708

704-
<Details header="Windows">
709+
<TabItem label="Windows" icon="seti:windows">
705710

706711
1. Install [OpenSSL for Windows](https://slproweb.com/products/Win32OpenSSL.html).
707712

@@ -725,7 +730,8 @@ To trust the Cloudflare root certificate in RubyGems, follow the procedure for y
725730

726731
5. Restart RubyGems.
727732

728-
</Details>
733+
</TabItem>
734+
</Tabs>
729735

730736
### Minikube
731737

0 commit comments

Comments
 (0)