Skip to content

Commit b8f6196

Browse files
committed
Update Mac procedure
1 parent 8af75ad commit b8f6196

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

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

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -662,25 +662,27 @@ If you use Kaniko with Google Cloud SDK, you must install a Cloudflare certifica
662662

663663
#### Google Drive for desktop
664664

665-
To trust a 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).
665+
To trust a Cloudflare root certificate in the Google Drive desktop application, follow the procedure for your operating system. These steps require you to [download a .pem certificate](#download-the-cloudflare-root-certificate).
666666

667667
<Tabs>
668668
<TabItem label="macOS" icon="apple">
669669

670-
1. In the Finder menu bar, go to **Go** > **Go to Folder**. Enter `/Applications/Google Drive.app/Contents/Resources`.
670+
1. In a terminal, copy the contents of the Google Drive certificate file to a new certificate file in a permanent location, such as your Documents folder. For example:
671671

672-
2. Find `roots.pem` and copy it to a permanent location, such as your Documents folder.
672+
```sh
673+
cat /Applications/"Google Drive.app"/Contents/Resources/roots.pem > ~/Documents/gdrivecerts.pem
674+
```
673675

674-
3. Append the contents of `cloudflare.pem` to the end of `roots.pem`.
676+
2. Append the contents of the downloaded certificate to the end of the new file. For example:
675677

676678
```sh
677-
cat ~/Downloads/certificate.pem >> path/to/roots.pem
679+
cat ~/Downloads/certificate.pem >> ~/Documents/gdrivecerts.pem
678680
```
679681

680-
4. Apply the newly created root certificate to your Google Drive application.
682+
3. Apply the newly created root certificate to your Google Drive application. For example:
681683

682684
```sh
683-
sudo defaults write /Library/Preferences/com.google.drivefs.settings TrustedRootCertsFile -string "path/to/roots.pem"
685+
sudo defaults write /Library/Preferences/com.google.drivefs.settings TrustedRootCertsFile "/Users/$(whoami)/Documents/gdrivecerts.pem"
684686
```
685687

686688
You can verify the update with the following command.

0 commit comments

Comments
 (0)