Google Drive access breaks when SSL Interception is enabled in ProxySG
search cancel

Google Drive access breaks when SSL Interception is enabled in ProxySG

book

Article ID: 165791

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

Google drive won’t sync when SSL interception is enabled. The only solution is to bypass SSL Interception for these connections. This applies to both Transparent and explicit connections.

The connection is breaking because of the SSL Certificate validation done by the Google Drive application. Since the certificate used for SSL Interception will be either a self-signed or a locally signed CA, Google Drive certificate validation will fail.

Resolution

There is no direct way to make the Google Drive application trust the certificate used for SSL interception by the local CA/ProxySG. Google has provided an option to bypass the certificate validation by using a switch “--unsafe_network”.


Use either of the following methods to activate the switch.

  • Edit the shortcut for the Google Drive and add the switch at the end:

Change C:\Program Files\Google\Drive\googledrivesync.exe to C:\Program Files\Google\Drive\googledrivesync.exe" --unsafe_network


Screenshot of the edited shortcut
 

  • Open a command prompt and navigate to the folder where Google Drive is installed.

At the prompt, run googledrivesync.exe --unsafe_network

On 32bit system, the default location is at C:\Program Files\Google\Drive\
On 64bit system, the default location is at C:\Program Files (x86)\Google\Drive\


Note: This will avoid the connection failure due to SSL certificate validation by Google Drive application.