You
can configure Chromebook SSO so that users are signed in to Sophos
Firewall when they sign in to their Chromebooks. When users authenticate
with the domain configured in Google Workspace, the firewall shows them
on the Live users page.
Requirements
To use Chromebook SSO, your environment must meet the following requirements:
You must configure an Active Directory or LDAP authentication server in your firewall. See the following pages:
Chromebooks must connect to the network secured by Sophos Firewall.
- Chromebook
users must have email addresses that use the domain registered with
Google Workspace. For example, if your registered domain is
example.com, Chromebook users must have a user@example.com email address. Create
or import a valid certificate for encrypted communication with the
Chromebooks. The certificate must meet the following requirements:
- The CN must match the zone or network where the Chromebook users are, for example,
gateway.example.com. - The certificate must not be protected by a passphrase.
Create an FQDN host entry for accounts.google.com. See Add an FQDN host.
To
configure your firewall for Chromebook SSO, you must allow device
access for the Chromebooks, turn on Chromebook SSO authentication, and
create firewall rules to allow communication between the Chromebooks and
Google Workspace. Do as follows:
Device access
- Go to Administration > Device access.
- Select Chromebook SSO for the zones from which the Chromebook users will connect, such as LAN and Wi-Fi.
Chromebook SSO authentication
- Go to Authentication > Services > Chromebook SSO.
Click Enable and enter the following settings:
- Domain: The Google Workspace domain. This is the domain suffix of the email addresses used in Google Workspace, for example,
example.com. - Port: 65123.
- Certificate: The certificate for encrypted communication with the Chromebooks.
Click Download G Suite app config to download a JSON file, which you'll need to upload to Google Workspace.
- Open the file with a text editor and enter your firewall's LAN or DNS IP address for serverAddress. The server address must match the certificate's CN, for example,
10.1.1.1. - Save your changes. You'll need this file to configure the Sophos Chromebook user ID app in Google Workspace.
Firewall rules
- Go to Rules and policies > Firewall rules.
Create
a firewall rule to allow Google API and Chrome Web Store communication
for all devices. This rule is necessary to push the app to Chromebooks.
Enter the following settings:
- Action: Accept.
- Source zones: The zones the Chromebooks connect from, such as LAN and Wi-Fi.
- Source networks: Select your Chromebooks' networks, or select Any.
- Destination zones: The zones you want the Chromebooks to communicate with, such as WAN.
- Destination networks: Select the FQDN host you created for
accounts.google.com and the predefined FQDN host groups Google API Hosts and Google Chrome Web Store.
Create
another firewall rule to allow internet access to Chromebooks by
matching known users and showing the captive portal to unknown users.
Enter the following settings:
- Action: Accept.
- Source zones: The zones the Chromebooks connect from, such as LAN and Wi-Fi.
- Source networks: Select your Chromebooks' networks, or select Any.
- Destination zones: The zones you want the Chromebooks to communicate with, such as WAN.
- Destination networks: Select Any or choose the specific networks you want the Chromebooks to communicate with.
- Match known users: Selected.
- Use web authentication for unknown users: Selected.
Note
You must position this rule below the rule that allows Google API and Chrome Web Store communication.
Warning
This
information was correct at the time of writing. We recommend you review
the Google documentation to make sure you're following the current
steps. See View and configure apps and extensions.
You
must configure the Sophos Chromebook user ID app in Google Workspace
for communication and authentication with your firewall. Do as follows:
- Sign in to Google Workspace.
- Go to Devices > Chrome > Apps and extensions > Users and browsers.
- Click Add
, then click Add from Chrome Web Store
. - Search for the Sophos Chromebook user ID app and click Select.
Under Installation policy, select one of the following options:
- Force install: Automatically installs the app on all Chromebooks configured for your domain and prevents users from removing it.
- Force install + pin to browser toolbar: Automatically installs the app, prevents users from removing it, and displays it on the Chromebook toolbar after installation.
Under Policy for extensions, click Upload
, select the JSON configuration file, and click Open to upload it to Google Workspace.
- Click Save.
Trusted API admin permission
To prevent OAUTH from failing, you must add trusted API admin permission to the Sophos User ID app as follows:
- In Google Workspace, go to Security > Access and data control > API controls.
- Under App access control, click Manage app access.
- Under Accessed apps, click View list.
- Search for Sophos User ID and click Change access.
- Choose the Scope. You can select the entire organization, or specific OUs.
- Click Next.
- Select Trusted.
- Click Next.
- Click Change access.
Install CA certificate for proxy and app communication
If
you use a locally-signed certificate for Sophos Firewall, you must
upload the corresponding CA certificate to Google Workspace for proxy
and app communication to work.
- Sign in to your firewall.
- Go to Certificates > Certificate authorities.
- Click Download
for the certificate authority you want to download. The firewall signs Locally-signed certificates using the CA Default. - Extract the
pem file from the downloaded .tar.gz file to the location of your choice. - Sign in to Google Workspace.
- Go to Devices > Networks > Certificates.
- Click Upload certificate
- Click Upload, select the
pem file you downloaded from Sophos Firewall, and click Open. - Under Certificate authority, select Enabled for Chromebook.
- Click Add.
If
you didn't force the Sophos Chromebook user ID app installation, you
must configure your Chromebooks by installing it from the Chrome Web
Store.
https://docs.sophos.com/nsg/sophos-firewall/22.0/Help/en-us/webhelp/onlinehelp/AdministratorHelp/Authentication/HowToArticles/AuthenticationConfigureChromebookSSO/index.html#configure-your-chromebooks