Sophos Mobile Installation guide
जाहिरात
जाहिरात
Sophos Mobile installation guide
Product version: 7.1
2
Contents
installation guide
1 About this guide
This guide explains how to install and set up Sophos Mobile version 7.1. It also describes how to update an existing installation of Sophos Mobile.
Unless otherwise noted, all procedures must be performed as an administrator of Microsoft
Windows Server or as a user of the relevant group.
3
4
Sophos Mobile
2 About Sophos Mobile
Sophos Mobile
Sophos Mobile is the EMM solution for businesses that want to spend less time and effort to manage and secure mobile devices. Manage mobile devices with the easy-to-use, web-based, unified Sophos Central admin interface alongside endpoint, network, or server security from
Sophos. Secure container apps and support for mobile OS containerization in iOS, Android enterprise, and Samsung Knox ensure sensitive company data stays separated from personal information on the device.
With its best-in-class data protection, comprehensive security, value-for-money, and flexible management options, Sophos Mobile is the best way to allow the use of mobile devices for work, keeping users productive, business data safe and personal data private.
Sophos Mobile Security
Sophos Mobile Security protects your Android devices without compromising performance or battery life. Powered by leading Sophos anti-malware technology, Sophos Mobile Security offers an award-winning level of antimalware and antivirus protection together with Potentially Unwanted
App detection, privacy and security advisors, loss and theft protection, web protection, and much more.
Sophos Secure Workspace
Sophos Secure Workspace is a containerized mobile content management app for iOS and
Android that provides a secure way to protect, manage, and distribute business documents and web content. Edit Office format documents without leaving the container environment to ensure encrypted content remains secure. Anti-phishing technology protects users from malicious links in documents and content.
When managed by Sophos Mobile, admins can easily restrict access to content based on device compliance rules. In combination with Sophos SafeGuard Encryption, Sophos Secure Workspace provides seamless exchange of encrypted files—stored locally or in the cloud—between Windows, macOS, iOS and Android users.
Sophos Secure Email
Sophos Secure Email is a fully featured, secure, and containerized email app for Android and iOS that lets you isolate business email, calendar and contacts from private data on a mobile device when managed by Sophos Mobile. All company information is protected with AES-256 encryption and access can easily be revoked based on device compliance rules. Sophos Secure
Email also lets IT provision business email securely and consistently across different devices and
OS variations.
installation guide
3 Sophos Mobile licenses
Sophos Mobile offers two types of licenses:
■
SMC Standard license
■
SMC Advanced license
With a license of type SMC Advanced you can manage the Sophos Mobile Security, Sophos
Secure Workspace and Sophos Secure Email apps.
For further information on managing Sophos Mobile Security, Sophos Secure Workspace and
Sophos Secure Email with Sophos Mobile, see the Sophos Mobile administrator help .
As a super administrator, you can activate your purchased licenses in the super administrator customer and assign the required number of licensed users to individual customers.
3.1 Trial licenses
Sophos offers a free trial for Sophos Mobile. You can register for the trial on the Sophos website: http://www.sophos.com/en-us/products/free-trials/mobile-control.aspx
.
A trial license allows you to manage up to five users and is valid for 30 days.
All you will need when you set up Sophos Mobile for evaluation is the email address you used to register when downloading the installer.
3.2 Upgrade trial licenses to full licenses
To upgrade trial licenses to full licenses you only have to enter your full license key in Sophos
Mobile. For further information, see the Sophos Mobile administrator help .
3.3 Update licenses
To update your licenses you have to activate the new license key in Sophos Mobile. For further information, see the Sophos Mobile super administrator guide .
5
6
Sophos Mobile
4 Set up Sophos Mobile
The key steps to set up Sophos Mobile are:
■
Request an SSL Certificate. See Request an SSL certificate for Sophos Mobile
(page 7).
■
Run the Sophos Mobile installer. See Install and set up the Sophos Mobile server (page 8).
After the installation there are a few initial configuration steps that you need to perform:
■
■
■
Log in to the Sophos Mobile console for the first time to start the configuration wizard.
For iOS devices, you need to get an Apple Push Notification service certificate.
Optionally, you can set up a standalone EAS Proxy for email filtering that has the following advantages over the internal EAS Proxy that is automatically installed with Sophos Mobile:
■
■
■
Support for certificate-based client authentication.
IBM Notes Traveler client support for non-iOS devices.
Support for multiple Exchange and IBM Notes Traveler servers.
For details on these configuration tasks, see the Sophos Mobile startup guide .
4.1 Deployment considerations
We recommend you read the Sophos Mobile server deployment guide before performing the installation and deployment of the Sophos Mobile server. This guide provides guidance on the following aspects of a Sophos Mobile server installation:
■
■
Architecture examples for the integration of the Sophos Mobile server into your company’s infrastructure.
Architecture examples for the integration of the standalone EAS proxy into your company’s infrastructure.
■
■
Dimensioning guidelines in terms of hardware (for example CPU and memory) and software
(for example database and virtualization) requirements.
Communication details (ports, protocols, destinations) of required inbound and outbound connections.
4.2 System environment requirements
The Sophos Mobile installer runs a series of test to verify that your system environment meets all the necessary requirements for Sophos Mobile.
These requirements are:
■
You are an administrator on the computer.
■
The computer's operating system is supported by Sophos Mobile.
installation guide
Supported operating systems are the 64-bit editions of:
■
Windows Server 2008 R2 SP1
■
■
Windows Server 2012
Windows Server 2012 R2
■
Windows Server 2016
(including additional service packs, if available)
■
■
■
■
■
■
■
■
■
■
■
■
■
The computer has at least one network adapter.
The computer has at least 4 GB of RAM.
The Microsoft Internet Information Services (IIS) web server is disabled on the computer.
The HTTP/S ports 80, 443 and 8080 are available on the computer.
The computer can connect to the Apple Push Notification service (APNs).
The computer can connect to the Google Cloud Messaging (GCM) service.
The computer can connect to the Windows Push Notification service.
The computer can connect to the Sophos services.
Optional: The computer can connect to the Apple Volume Purchase Program (VPP) web service.
Optional: The computer can connect to the Apple Device Enrollment Program (DEP) web service.
Optional: The computer can connect to the Apple iTunes web service.
Optional: The computer can connect to the Apple Activation Lock Bypass web service.
Optional: The computer can connect to the Google web service for Android enterprise.
4.3 Request an SSL certificate for Sophos Mobile
In order to set up Sophos Mobile, you need an SSL web server certificate. In the setup process, you can select between creating a self-signed certificate and using a PKCS #12 with certificate, private key and certificate chain. For further information, see
Install and set up the Sophos Mobile server
(page 8). Your Sophos product delivery includes an SSL Certificate Wizard to request your SSL certificate for the Sophos Mobile EAS proxy. Run the wizard from the
%MDM_HOME%\tools\Wizard
folder, or download it from www.sophos.com/mysophos .
Note: If you use a self-signed certificate or a certificate that is issued by your own certificate authority (CA), you must manually install that self-signed certificate or your CA certificate on your devices before you enroll them with Sophos Mobile. If you do not do this, the Sophos Mobile
Control app will not trust your server and will refuse to connect. Certificates issued by a globally trusted CA do not require this manual installation.
Note: You cannot install Android apps from APK files that are hosted on the Sophos Mobile server if you use a self-signed certificate or a certificate that is issued by your own CA.
7
8
Sophos Mobile
To request your SSL certificate:
■
Start the SSL Certificate Wizard by double-clicking the file Sophos Mobile Control SSL
Certificate Wizard.exe.
The wizard guides you through installation. Enter the required information, considering the following instructions: a) On the Upload CSR page, you can click the Open CSR button to open the CSR file if your certificate vendor supports copy and paste.
b) On the Import Certificate Files page, enter the CA certificate downloaded on the Upload
CSR page into the Select CA certificate file field.
c) On the Certificate created page, the location of the certificate created is shown. You need to refer to this location when setting up Sophos Mobile. See
(page 8).
Note: You should create a backup of the folder containing the certificate files.
4.4 Install and set up the Sophos Mobile server
■
■
If you plan to connect Sophos Mobile to an existing database, make sure you have the logon credentials for the database available before starting the installation, and that you have sufficient permissions to create new data stores, user accounts and data records.
If the database is not held locally, you need access to TCP port 1433 (for Microsoft SQL Server) or 3306 (for MySQL). In addition, you need an admin account that the Sophos Mobile server can use to log in to the database.
1. Run the Sophos Mobile installer as administrator, and review and agree to the license agreement.
2. On the System Property Checks page, click Check to run the tests to verify that your system
(page 6).
You can click Report to generate a report of the test results.
3. On the Choose Install Location page, choose the destination folder for Sophos Mobile server.
4. On the Database Type Selection page, select the database type you want to use:
■
■
■
■
Install and use Microsoft SQL Server 2016 Express: Installs immediately SQL
Server 2016 Express and configures it to be used with Sophos Mobile. This option is only available if you install Sophos Mobile on a Windows Server 2016 computer.
Install and use Microsoft SQL Server 2014 Express: Installs immediately SQL
Server 2014 Express and configures it to be used with Sophos Mobile. This option is only available if you install Sophos Mobile on a Windows Server 2008 or 2012 computer.
Use existing Microsoft SQL database
Use existing MySQL
5. On the Database Settings page, enter the logon credentials for the database.
Note: If you select the Use SQL Server Authentification option, you need to make sure that
the SQL login language is set to English. See Change the SQL login language (page 10) for
details.
installation guide
6. On the Database Selection page, click Create a new database named and enter a name for the database to be created, for example SMCDB.
7. On the Database Configuration page, progress messages are displayed during the database creation.
When the database has been successfully created and populated, click Next to continue.
8. If you have selected Windows authentication for the database access, there is a page Set
service credentials where you set the Windows account under which the Sophos Mobile
Control service runs.
You can use the Local System account or a user account. In the latter case, specify the user account either as
<computer name>\<user name>
or as
<domain>\<user name>
.
The installer will assign the database access rights to that account.
Note: For security reasons, we recommend that you run the Sophos Mobile Control service as a user with limited access rights. The user account should have the following properties:
■
■
User account is a local Windows account on the computer on which Sophos Mobile is installed.
User is not a member of any group, not even of the users group.
■
User can access your SQL database with the necessary change rights. For an MS-SQL database, this means that the user must be a member of the db_datareader and
db_datawriter roles.
9. On the Configure super admin account page, configure the account details of the super administrator.
The super administrator is primarily intended for customer management and should not be used for routine device management. In Sophos Mobile, customers are the tenants that manage the devices of their users. The super administrator logs in to the super administrator customer and can, for example, predefine settings for new customers and push settings and configurations to existing customers. For further information, see the Sophos Mobile super administrator guide .
Note: The super administrator credentials are required for the first login to the Sophos Mobile console. After installation, additional super administrators can be added in the Sophos Mobile console.
10. On the Configure external server name page, enter a Sophos Mobile server name (for example smc.mycompany.com).
Note: The server name must be resolvable by the managed devices.
11. On the Configure server certificate page, import a certificate for secure (HTTPS) access to the web server.
■
■
If you have a trusted certificate, click Import a certificate from a trusted issuer and an option from the drop-down list.
If you do not have a trusted certificate yet, select Create self-signed certificate.
Note: If you use a self-signed certificate or a certificate that is issued by your own certificate authority (CA), you must manually install that self-signed certificate or your CA certificate on your devices before you enroll them with Sophos Mobile. If you do not do this, the Sophos
Mobile Control app will not trust your server and will refuse to connect. Certificates issued by a globally trusted CA do not require this manual installation.
9
Sophos Mobile
Note: You cannot install Android apps from APK files that are hosted on the Sophos Mobile server if you use a self-signed certificate or a certificate that is issued by your own CA.
Note: Your Sophos product delivery includes an SSL Certificate Wizard to request your SSL certificate for Sophos Mobile. See
Request an SSL certificate for Sophos Mobile
(page 7).
12. On the next page, enter the relevant certificate information, depending on the type of certificate that you selected.
Note: For a self-signed certificate, you need to specify a server that is accessible from the managed devices.
13. On the Server Information page, verify the server information, then click Next to confirm the server and configuration process.
14. After installation has finished, the Sophos Mobile Control - Installation finished dialog box is displayed. Make sure that the Start Sophos Mobile Control server now check box is selected and click Finish to start the Sophos Mobile Control service for the first time.
Note: After the service has been started it can take a few minutes before the Sophos Mobile web interface is available.
After the installation there are a few initial configuration steps that you need to perform:
■
Log in to the Sophos Mobile console for the first time to start the configuration wizard. See the
Sophos Mobile startup guide .
■
■
For iOS devices, you need to get an Apple Push Notification service certificate. See the Sophos
Mobile startup guide .
Optionally, you can set up a standalone EAS proxy for email filtering. See
(page 11).
4.5 Change the SQL login language
If you have configured the Sophos Mobile server to use SQL Server authentication to connect to the database, the SQL login language must be set to English. Otherwise, an error occurs when the Sophos Mobile Control service is started.
This topic describes how to change the SQL login language to English.
1. Stop the Sophos Mobile Control service.
2. Open SQL Server Management Studio on the server and select Security > Logins.
3. On the General page of the Login Properties, set Default language to English, then click
OK to save the changes.
4. Restart the Sophos Mobile Control service.
10
installation guide
5 Standalone EAS proxy
You can set up an EAS proxy to control the access of your managed devices to an email server.
Email traffic of your managed devices is routed through that proxy. You can block email access for devices, for example a device that violates a compliance rule.
The devices must be configured to use the EAS proxy as email server for incoming and outgoing emails. The EAS proxy will only forward traffic to the actual email server if the device is known in
Sophos Mobile and matches the required policies. This guarantees higher security as the email server does not need to be accessible from the Internet and only devices that are authorized
(correctly configured, for example with passcode guidelines) can access it. Also, you can configure the EAS proxy to block access from specific devices.
There are two types of EAS proxy:
■
The internal EAS proxy that is automatically installed with Sophos Mobile. It supports incoming
ActiveSync traffic as used by Microsoft Exchange or IBM Notes Traveler for iOS and Samsung
Knox devices.
■
A standalone EAS proxy that can be downloaded and installed separately. It communicates with the Sophos Mobile server through an HTTPS web interface.
Note: For performance reasons, we recommend you use the standalone EAS proxy server instead of the internal version when email traffic for more than 500 client devices must be managed.
Features
The standalone EAS proxy has additional features compared to the internal version:
■
Support for IBM Notes Traveler for non-iOS devices (for example, Android). The Traveler client for these devices uses a protocol (not ActiveSync) that is not supported by the internal EAS proxy.
■
■
Support for multiple Microsoft Exchange or IBM Notes Traveler email servers. You can set up one EAS proxy instance per email server.
Load balancer support.You can set up standalone EAS proxy instances on several computers and then use a load balancer to distribute the client requests among them.
■
■
Support for certificate-based client authentication.You can select a certificate from a certification authority (CA), from which the client certificates must be derived.
Support for email access control through PowerShell. In this scenario, the EAS proxy service communicates with the email server through PowerShell to control the email access of your managed devices. Email traffic happens directly from the devices to the email server and is
not routed through a proxy. See Set up email access control through PowerShell
(page 15).
Note: For non-iOS devices, filtering abilities of the standalone EAS proxy are limited due to the specifics of the IBM Notes Traveler protocol. Traveler clients on non-iOS devices do not send the device ID with every request. Requests without a device ID are still forwarded to the Traveler server, even though the EAS proxy is not able to verify that the device is authorized.
11
Sophos Mobile
5.1 Usage scenarios for the standalone EAS proxy
Note: Additional to the information provided in this section, the Sophos Mobile server deployment guide contains schematic diagrams for the integration of the standalone EAS proxy into your company’s infrastructure. We recommend that you read the information before performing the installation and deployment of the standalone EAS proxy.
A standalone EAS proxy server should be used for the following scenarios.
You use IBM Notes Traveler (formerly IBM Lotus Notes Traveler) for non-iOS devices
The internal EAS proxy is not suitable for this scenario because it only supports the ActiveSync protocol, which is used by Microsoft Exchange and by IBM Notes Traveler for iOS devices. IBM
Notes Traveler for non-iOS devices (for example, Android) uses a different protocol that is supported by the standalone EAS proxy.
For non-iOS devices, dedicated Traveler client software is required. This software is available through
<traveler-server>/servlet/traveler
or the Traveler file system. The Install App and Uninstall App features of Sophos Mobile can be used to install and uninstall the Traveler client software. Configuration has to be performed manually.
You want to support multiple backend servers
With the standalone EAS proxy you can set up multiple instances of backend email systems.
Each instance needs an incoming TCP port. Each port can connect to a different backend. You need one URL per EAS proxy instance.
You want to set up load balancing for EAS
You can set up standalone EAS proxy instances on several computers and then use a load balancer to distribute the client requests among them.
For this scenario an existing load balancer for HTTP is required.
You want to use client certificate based authentication
For this scenario an existing PKI is required and the public part of the CA certificate has to be set in the EAS proxy.
You need to manage more than 500 devices
For performance reasons, we recommend you use the standalone EAS proxy server instead of the internal version when email traffic for more than 500 client devices must be managed.
12
installation guide
5.2 Download the EAS proxy installer
1. Log in to the Sophos Mobile console as super administrator.
2. On the menu sidebar, under SETTINGS, click Setup > System setup and then click the EAS
proxy tab.
3. Under External, click the link to download the EAS proxy installer.
The installer file is saved to your local computer.
5.3 Install the standalone EAS proxy
Prerequisite:
■
Sophos Mobile has been installed and set up.
■
■
All required email servers are accessible. The EAS proxy installer will not configure connections to servers that are not available.
You are an administrator on the computer where you install the EAS proxy.
Note: The Sophos Mobile server deployment guide contains schematic diagrams for the integration of the standalone EAS proxy into your company’s infrastructure. We recommend that you read the information before performing the installation and deployment of the standalone EAS proxy.
1. Run
Sophos Mobile Control EAS Proxy Setup.exe
to start the Sophos Mobile
Control EAS Proxy - Setup Wizard.
2. On the Choose Install Location page, choose the destination folder and click Install to start installation.
After the installation has been completed, the Sophos Mobile Control EAS Proxy -
Configuration Wizard is started automatically and guides you through the configuration steps.
3. In the SMC Server configuration dialog, enter the URL of the SMC server that the EAS proxy will connect with.
You should also select Use SSL for incoming connections (Clients to EAS Proxy) to secure the communication between clients and the EAS proxy.
Optionally, select Use client certificates for authentication if you want the clients to use a certificate in addition to the EAS proxy credentials for authentication. This adds an additional layer of security to the connection.
Select Allow all certificates if your Sophos Mobile server presents varying certificates to the
EAS proxy, for example because there are several server instances behind a load balancer, and each instance uses a different certificate. When this option is selected, the EAS proxy will accept any certificate from the Sophos Mobile server.
Important: Because the Allow all certificates option reduces the security level of the server communication, we strongly recommend that you select it only if required by your network environment.
13
Sophos Mobile
4. If you selected Use SSL for incoming connections (Clients to EAS Proxy) before, the
Configure server certificate page is displayed. On this page you create or import a certificate for the secure (HTTPS) access to the EAS proxy.
Note: Your Sophos product delivery includes an SSL Certificate Wizard to request your SSL certificate for the Sophos Mobile EAS proxy. For further information, see
Request an SSL certificate for Sophos Mobile
(page 7).
■
■
If you do not have a trusted certificate yet, select Create self-signed certificate.
If you have a trusted certificate, click Import a certificate from a trusted issuer and select one of the following options from the list:
■
■
PKCS12 with certificate, private key and certificate chain (intermediate and CA)
Separate files for certificate, private key, intermediate and CA certificate
5. On the next page, enter the relevant certificate information, depending on the type of certificate that you selected.
Note: For a self-signed certificate, you need to specify a server that is accessible from the client devices.
6. If you selected Use client certificates for authentication before, the SMC client
authentication configuration page is displayed. On this page, you select a certificate from a certification authority (CA), from which the client certificates must be derived.
When a client tries to connect, the EAS proxy will check if the client certificate is derived from the CA that you specify here.
7. On the EAS Proxy instance setup page, configure one or more EAS proxy instances.
■
■
■
■
■
■
■
Instance type: Select EAS proxy.
Instance name: A name to identify the instance.
Server port: The port of the EAS proxy for incoming email traffic. If you set up more than one proxy instance, each of these must use a different port.
Require client certificate authentication: Email clients must authenticate themselves when connecting to the EAS proxy.
ActiveSync server: The name or IP address of the server with which the proxy instance will connect.
SSL: Communication between the proxy instance and the ActiveSync server is secured by SSL.
Allow EWS subscription requests from Secure Email: Select this to allow the Sophos
Secure Email app on iOS to subscribe to push notifications through Exchange Web Services
(EWS). Push notifications inform the device when there are messages for Secure Email.
Note: By default, the EAS proxy blocks all requests to the Exchange server’s EWS interface for security reasons. If you select this check box, subscription requests are allowed. Other requests remain blocked.
■
Enable Traveler client access: Only select this check box if you need to allow access by
IBM Notes Traveler clients on non-iOS devices.
8. After entering the instance information, click Add to add the instance to the Instances list.
For every proxy instance, the installer creates a certificate that you need to upload to the
Sophos Mobile server. After you have clicked Add, a message window opens, explaining how to upload the certificate.
14
installation guide
9. In the message window, click OK.
This will open a dialog, showing the folder in which the certificate has been created.
Note: You can also open the dialog by selecting the relevant instance and clicking the Export
config and upload to SMC link on the EAS Proxy instance setup page.
10. Make a note of the certificate folder. You need this information when you upload the certificate to Sophos Mobile.
11. Optional: Click Add again to configure additional EAS proxy instances.
12. When you have configured all required EAS proxy instances, click Next.
The server ports that you entered are tested and inbound rules for the Windows Firewall are configured.
13. On the Allowed mail user agents page, you can specify mail user agents (i.e. email client applications) that are allowed to connect to the EAS proxy. When a client connects to the EAS proxy using an email application that is not specified, the request will be rejected.
■
■
Select Allow all mail user agents to configure no restriction.
Select Only allow the specified mail user agents and then select a mail user agent from the list. Click Add to add the entry to the list of allowed agents. Repeat this for all mail user agents that are allowed to connect to the EAS proxy.
14. On the Sophos Mobile Control EAS Proxy - Configuration Wizard finished page, click
Finish to close the Configuration Wizard and return to the Setup Wizard.
15. In the Setup Wizard, make sure that the Start Sophos Mobile Control EAS Proxy server
now check box is selected, then click Finish to complete the configuration and to start the
Sophos Mobile EAS proxy for the first time.
To complete the EAS proxy configuration, upload the certificates that were created for every proxy instance to Sophos Mobile:
16. Log in to the Sophos Mobile console as a super administrator.
17. On the menu sidebar, under SETTINGS, click Setup > System setup and then click the EAS
proxy tab.
18. Under External, click Upload a file. Upload the certificate that the setup wizard created for the PowerShell connection.
If you have set up more than one instance, repeat this for all instance certificates.
19. Click Save.
20. In Windows, open the Services dialog and restart the EASProxy service.
This completes the initial setup of the standalone EAS proxy.
Note: Every day, the EAS proxy log entries are moved to a new file, using the naming pattern
EASProxy.log.yyyy-mm-dd
. These daily log files are not deleted automatically and thus may cause disk space issues over time. We recommend that you set up a process to move the log files to a backup location.
5.4 Set up email access control through PowerShell
You can set up a PowerShell connection to an Exchange or an Office 365 server. This means that the EAS proxy service communicates with the email server through PowerShell to control
15
Sophos Mobile the email access for your managed devices. Email traffic is routed directly from the devices to the email server. It is not routed through a proxy.
Note: For a schematic of the PowerShell communication, see the Sophos Mobile server deployment guide .
The PowerShell scenario has these advantages:
■
Devices communicate directly with the Exchange server.
■
You do not need to open a port on your server for incoming email traffic from your managed devices.
Supported email servers are:
■
Exchange Server 2010
■
■
Exchange Server 2013
Exchange Server 2016
■
Office 365 with an Exchange Online plan
To set up PowerShell:
1. Configure PowerShell.
2. Create a service account on the Exchange server or in Office 365. This account is used by
Sophos Mobile to execute PowerShell commands.
3. Set up one or more PowerShell connection instances to Exchange or Office 365.
4. Upload the instance certificates to Sophos Mobile.
Configure PowerShell
1. On the computer on which you are going to install the EAS proxy, open Windows PowerShell, as an administrator, and enter:
PS C:\Windows\system32> Set-ExecutionPolicy RemoteSigned
Note: If PowerShell is not available, install it as described in the Microsoft article Installing
Windows PowerShell (external link) .
2. If you want to connect to a local Exchange server, open Windows PowerShell as administrator on that computer and enter the same command as before:
PS C:\Windows\system32> Set-ExecutionPolicy RemoteSigned
Note: This step is not required for Office 365.
Create a service account
3. Log in to the relevant admin console:
■
■
■
For Exchange Server 2010: Exchange Management Console
For Exchange Server 2013/2016: Exchange Admin Center
For Office 365: Office 365 Admin Center
16
installation guide
4. Create a user account. This account is used as a service account by Sophos Mobile to execute
PowerShell commands.
■
■
■
Use a user name like
smc_powershell
that identifies the account purpose.
Turn off the setting to make the user change their password the next time they log in.
Remove any Office 365 license that was automatically assigned to the new account. Service accounts don’t require a license.
5. Create a new role group and assign it the required permissions.
■
Use a role group name like
smc_powershell
.
■
■
Add the Mail Recipients and Organization Client Access roles.
Add the service account as a member.
Set up PowerShell connections
6. Use the setup wizard as if you would set up a standalone EAS Proxy. In wizard step EAS
Proxy instance setup, configure the following settings:
■
■
■
■
■
Instance type: Select PowerShell Exchange/Office 365.
Instance name: A name to identify the instance.
Exchange server: The name or IP address of the Exchange server (for a local Exchange server installation) or
outlook.office365.com
(for Office 365). Don’t include a prefix
https://
or a suffix
/powershell
. These are added automatically.
Allow all certificates: The certificate that the Exchange server presents is not verified.
Use this for example if you have a self-signed certificate installed on your Exchange server.
Because the Allow all certificates option reduces the security level of the server communication, we strongly recommend that you select it only if required by your network environment.
Allow EWS subscription requests from Secure Email: Select this to allow the Sophos
Secure Email app on iOS to subscribe to push notifications through Exchange Web Services
(EWS). Push notifications inform the device when there are messages for Secure Email.
Note: By default, the EAS proxy blocks all requests to the Exchange server’s EWS interface for security reasons. If you select this check box, subscription requests are allowed. Other requests remain blocked.
■
■
Service account: The name of the user account you created in the Exchange or Office
365 admin console.
Password: The password of the user account.
7. Click Add to add the instance to the Instances list.
8. Optional: Repeat the previous steps to set up PowerShell connections to other Exchange or
Office 365 servers.
9. Complete the setup wizard as described in
Install the standalone EAS proxy
(page 13).
Upload certificates
10. Log in to the Sophos Mobile console as a super administrator.
11. On the menu sidebar, under SETTINGS, click Setup > System setup and then click the EAS
proxy tab.
17
Sophos Mobile
12. Under External, click Upload a file. Upload the certificate that the setup wizard created for the PowerShell connection.
If you have set up more than one instance, repeat this for all instance certificates.
13. Click Save.
14. In Windows, open the Services dialog and restart the EASProxy service.
This completes the initial setup of PowerShell connections. Email traffic between a managed device and the Exchange or Office 365 servers is blocked if the device violates a compliance rule.
You can block an individual device by setting the email access mode for that device to Deny.
Note: Depending on the configuration of your Exchange server, devices receive a notification when their email access is blocked.
18
installation guide
6 Load balancing and high availability
Sophos Mobile makes it possible to set up a high-availability environment. This ensures that the
SMC service remains externally accessible and tasks can be further processed even after failure of a Sophos Mobile server node. To achieve this, load balancing, that distributes client and browser sessions by using DNS Round Robin to the available nodes, is required.
The following describes setting up clustering for Sophos Mobile and configuring load balancing with Sophos UTM.
6.1 Requirements
■
■
■
■
One separate Windows server for each Sophos Mobile server node.
All nodes must be on the same network.
One Microsoft SQL or MySQL database server or cluster.
Sophos UTM or Apache Reverse Proxy (mod_proxy) for load balancing. Load balancer must support permanent session cookies and official SSL web server certificates.
Note: For detailed information about the installation requirements see the Sophos Mobile 7.1
release notes and the Sophos Mobile installation prerequisites form .
Architecture
For an example of a three-node Sophos Mobile cluster see the Sophos Mobile server deployment guide .
For multicast communication between the individual Sophos Mobile server nodes, optionally a separate network can be used. The network interface to be used can be selected during cluster configuration, as described in
(page 20). It may also be a VLAN.
Note: If you want to operate a second Sophos Mobile cluster for test purposes, a separate network is needed.
Ports and protocols
The following table shows the required ports and protocols for communication between the individual nodes of a Sophos Mobile server cluster.
Protocol
TCP
TCP
Ports
7600, 8181, 57600
7600, 8181, 57600
Destination
<Incoming>
<Outgoing>
19
Sophos Mobile
20
Protocol
UDP
Ports
45700
Destination
<Incoming>
Server certificates
When you set up Sophos Mobile, you configure an SSL web server certificate that allows the
Sophos Mobile Control app to establish a secure connection to the Sophos Mobile server. We recommend that you use a certificate that is issued by a globally trusted certificate authority (CA).
In a clustered environment with several SMC server nodes behind a load balancer, this might not be practical. You might want to use a self-signed certificate instead. Sophos Mobile supports self-signed certificates, but the following restrictions apply:
■
■
If you use a self-signed certificate or a certificate that is issued by your own certificate authority
(CA), you must manually install that self-signed certificate or your CA certificate on your devices before you enroll them with Sophos Mobile. If you do not do this, the Sophos Mobile Control app will not trust your server and will refuse to connect. Certificates issued by a globally trusted
CA do not require this manual installation.
You cannot install Android apps from APK files that are hosted on the Sophos Mobile server if you use a self-signed certificate or a certificate that is issued by your own CA.
6.2 Set up cluster nodes
To set up a clustered environment you install the first node as described in
Sophos Mobile server (page 8). Clustering itself is then activated using the Configuration
Wizard.
For all other nodes, the database created during installation of the first node has to be selected and clustering has to be activated.
Note: It is also possible to configure an existing SMC server for clustering and to extend the environment by adding additional nodes.
6.2.1 Set up the first node
1. Install Sophos Mobile as described in
Install and set up the Sophos Mobile server (page 8)
and write down the name of the database you created. Specify this database when installing further nodes.
2. At the end of the installation deselect the Start Sophos Mobile Control server now option in the Sophos Mobile - Installation finished dialog.
Note: If the SMC service has already been started it will automatically be stopped and restarted during the configuration described later in this section. Alternatively, you can manually stop the service from the menu of the Sophos Mobile Control system tray icon.
3. On the server, click Start, go to Sophos Mobile Control and click SMC Configuration Wizard.
4. The Welcome page of the Sophos Mobile Configuration Wizard is displayed. Click Next.
installation guide
5. On the Database Selection page, select Skip database configuration and click Next.
6. On the Choose configuration steps page, select Configure cluster support and click Next.
7. On the Cluster Configuration page, use the drop-down list of available network interfaces to select the interface that will be used for multicast communication between the server node that you are about to set up and the other nodes.
8. Click through the remaining pages of the configuration wizard. Make sure that you click Yes when asked to start the SMC service.
The configuration of the first SMC server node is now complete. Click Finish in the Sophos
Mobile - Configuration Wizard finished dialog.
6.2.2 Set up further nodes
1. Start the installation of Sophos Mobile as described in
Install and set up the Sophos Mobile server (page 8).
2. On the Database selection page, select the database you created when you installed the first node and click Next.
The Database configuration dialog box is displayed. It shows the progress of the configuration process.
3. On the Database configuration page, wait until the configuration process has finished, then click Next.
4. On the Choose configuration steps page, select Configure cluster support and click Next.
5. On the Configure server certificate page, create a self-signed certificate as described in
Install and set up the Sophos Mobile server (page 8) and click Next.
6. On the Cluster Configuration page, use the drop-down list of available network interfaces to select the interface of the Sophos Mobile server node that you are about to set up, then click Next.
7. Click through the remaining pages of the configuration wizard. On the Sophos Mobile Control
- Installation finished page, select Start Sophos Mobile Control server now to start the cluster node that you just configured.
The configuration of the SMC node is now complete. If required, repeat this procedure to configure additional nodes.
6.3 Set up load balancing with Sophos UTM
This topic describes how to set up Sophos UTM as a load balancer for a cluster of Sophos Mobile server nodes. For more information on configuring Sophos UTM, see the Sophos UTM documentation.
Note:
■
In order to use Sophos UTM for clustering you need a Sophos UTM license with a Sophos
Webserver Protection subscription.
■
As described later in this section, you need to specify a certificate to protect the communication between the managed devices and the virtual web server that you set up in Sophos UTM. For simplicity, we recommend that you use the same certificate that you used for the Sophos
21
Sophos Mobile
Mobile server (see Request an SSL certificate for Sophos Mobile
(page 7)). If you used a self-signed certificate, it is mandatory that you use that same certificate.
1. Log into Sophos UTM WebAdmin.
2. From the WebAdmin menu section Webserver Protection, go to the Web Application
Firewall > Real Webservers tab.
3. Click New Real Webserver to create an SMC node.
4. In the Add Real Webserver dialog, enter the following settings: a) Name: Enter a descriptive name for the web server (for example
SMC node
).
b) Host: Select or add a host. Select a host by clicking the folder symbol next to the Host field. Drag a host from the list of available hosts into the Host field.
For additional information on how to add a definition, see the topic Network Definitions in the UTM Administration Guide .
c) Type: Select Encrypted (HTTPS).
Click Save to save the configuration.
Repeat the previous step for each Sophos Mobile server node.
5. From the WebAdmin menu section Webserver Protection, go to the Certificate
Management > Certificates tab.
6. Click New Certificate to upload an SSL web server certificate.
7. In the Add Certificate dialog, enter the following settings: a) Name: Enter a descriptive name for the certificate.
b) Method: Select Upload.
c) File type: Select PKCS#12(Cert+CA) d) Password: Enter the password for your certificate file.
e) File: Click the folder icon next to the File box, select the certificate you want to upload and click Start Upload.
Click Save to save the configuration. The certificate is added to the Certificates list.
8. From the WebAdmin menu section Webserver Protection, go to the Web Application
Firewall > Virtual Webservers tab.
9. Click New Virtual Webserver to add a virtual web server for the cluster.
10. In the Add Virtual Webserver dialog box, make the following settings: a) Name: Enter a descriptive name for the virtual web server (for example
SMC cluster
).
b) In the Interface list, select the WAN interface over which the cluster should be accessible from outside.
c) Type: Select Encrypted (HTTPS) & redirect.
d) In the Certificate list, select the web server’s certificate you uploaded beforehand.
e) Domains (only with wildcard certificate, that is a public key certificate that can be used with multiple subdomains): Enter the domains the web server is responsible for, for example
shop.example.com
, or use the Action icon to import a list of domain names.
Domains must be entered as fully qualified domain names (FQDN).
22
installation guide
You can use an asterisk (*) as a wildcard for the domain prefix, for example,
*.mydomain.com
. Domains with wildcards are considered as fallback settings: The virtual web server with the wildcard domain entry is only used when no other virtual web server with a more specific domain name is configured.
Example: A client request to
a.b.c
will match
a.b.c
before
*.b.c
before
*.c
.
f) Real Webservers: Select the SMC nodes you created beforehand.
Important: Do not select a firewall profile.
Click Save to save the configuration. The server is added to the Virtual Webservers list.
11. Enable the virtual web server.
The new virtual web server is disabled by default. Click the toggle switch to enable the virtual web server. The toggle switch color should change from gray (disabled) to green (enabled).
12. Go to the Site Path Routing tab.
13. In the Virtual Webservers list, go to the virtual web server you added and click Edit.
14. In the Edit Site Path Route dialog box, click Advanced and select Enable sticky session
cookie.
Click Save to save the configuration.
23
Sophos Mobile
24
7 Update Sophos Mobile
Sophos Mobile server installations can be updated directly from versions 6.1 or 7 to 7.1.
Older versions need to be updated to version 6.1 beforehand. For details, see the Sophos
Mobile 6.1 documentation.
7.1 Update Sophos Mobile server
To update your Sophos Mobile server installation to version 7.1, start the Sophos Mobile 7.1
installer and follow the instructions. The installer automatically detects if an existing installation needs to be updated to version 7.1.
A system property check will be performed before the update starts. If all checks are passed you can proceed with the update. Database and files will be updated automatically without any user interaction. Once the update is complete, the Sophos Mobile service will be started again.
Note: If you used Windows Authentication during your initial Sophos Mobile server installation the Start Sophos Mobile Control server now option is grayed out. You have to start the service manually.
7.2 Update a server cluster
When updating a cluster of Sophos Mobile server nodes, it is important that all nodes are running on the same version at all times, and that the server version matches the database version. To do this:
1. Shut down all server nodes by stopping the Sophos Mobile Control service on the relevant computers.
2. Update the first node as described in
(page 24).
This also updates the database.
3. Start the updated server node and check that the update was successful.
4. Update the remaining server nodes.
Tip: If you are using the standalone EAS proxy, your managed devices can access your email server even when all Sophos Mobile server nodes are stopped. This is because the EAS proxy caches the device status for up to 60 minutes when not connected to the Sophos Mobile server.
7.3 Update standalone EAS proxy
.
To update your standalone EAS proxy to version 7.1, run the EAS proxy 7.1 installer and follow the instructions. The installer automatically detects if an existing installation needs to be updated
If you are using a cluster of EAS proxy server nodes behind a load balancer, you can update these nodes independently of each other and in any sequence.
installation guide
Tip: Do not stop all EAS proxy server nodes at the same time. This makes sure that email communication of your managed devices is not interrupted during the update.
25
Sophos Mobile
8 Technical reference
8.1 Sophos Mobile server features
The core component of the Sophos Mobile product is the Sophos Mobile server. Its main features include:
■
■
The server is connected to the Internet.
The server makes it possible to set up a high-availability environment.
■
■
■
■
■
The administrator controls the server using the web interface.
End users can register their devices by using the Self Service Portal, or get a device from the administrator that has already been prepared for auto-enrollment.
The managed devices synchronize with the server through HTTPS.
iOS clients get triggered by the server through APNs, Android clients through GCM. Windows devices use the Windows Notification Service (WNS).
You can use an existing Microsoft SQL Server or MySQL database to store device and application information. Alternatively, you can let the Sophos Mobile installer create a new database using Microsoft SQL Server Express.
■
■
The database can reside on the same or a separate computer. This allows the use of database clusters.
The server supports multi-tenant setups to allow different customers on the same server.
■
Email access is possible through an integrated or a standalone EAS proxy. For the standalone variant, HTTPS access to the SMC server is required.
The Sophos Mobile server has been developed for Java EE (Enterprise Edition). It installs and runs in the well-tested industry-standard WildFly application server.
The server may be installed in virtualized environments.
8.2 Sophos Mobile web interfaces
8.2.1 Sophos Mobile administration interface
Sophos Mobile is managed through a web interface that is secured by a login and a session mechanism. You can implement password policies. Access control allows different user roles.
These roles have different sets of access rights. Each user can be assigned exactly one role.
For further information, see the Sophos Mobile administrator help .
26
installation guide
8.2.2 Super administrator interface
The super administrator is primarily used to set up and manage customers for device management.
As a super administrator you log in to the super administrator customer which is also created during Sophos Mobile setup. For the super administrator customer, the Sophos Mobile console shows a customized view for super administrator tasks.
8.2.3 Self Service Portal
The Self Service Portal is secured by a login, session mechanism and a password policy. The account has to be set up by the Sophos Mobile administrator and can be associated with any tenant. The Self Service Portal is designed for end users to register their devices with Sophos
Mobile. The end users are also allowed to perform tasks for their devices, for example remote lock or remote wipe. The tasks they can perform vary according to device platform and configuration. As an administrator you can configure the Self Service Portal functions available to end users.
For information on how to configure the Self Service Portal for end users, see the Sophos Mobile administrator help .
27
Sophos Mobile
9 Technical support
You can find technical support for Sophos products in any of these ways:
■
Visit the Sophos Community at community.sophos.com/ and search for other users who are experiencing the same problem.
■
■
■
Visit the Sophos support knowledgebase at www.sophos.com/en-us/support.aspx
.
Download the product documentation at www.sophos.com/en-us/support/documentation.aspx
.
Open a ticket with our support team at https://secure2.sophos.com/support/contact-support/support-query.aspx
.
28
installation guide
10 Legal notices
Copyright
©
2011-2017 Sophos Limited. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise unless you are either a valid licensee where the documentation can be reproduced in accordance with the license terms or you otherwise have the prior permission in writing of the copyright owner.
Sophos is a registered trademark of Sophos Limited and Sophos Group. All other product and company names mentioned are trademarks or registered trademarks of their respective owners.
Last update: 20170821
29
डाउनलोड
जाहिरात