This document is applicable to all the XG Firewalls running all versions. To integrate the XG firewall with Azure AD, we need to create a new service called “Azure AD Domain services”.
With this integration, administrators can use Azure AD for the following:
Note: SSO with synchronized security and Azure AD needs to meet some specific requirements which are outside the scope of this document.
Azure AD DS replicates identity information from Azure AD to a Microsoft-operated set of domain controllers, so it works with Azure AD tenants that are cloud-only, or synchronized with an on-premises AD DS environment. The same set of Azure AD DS features exists for both environments.
Azure AD domain services offer an LDAP interface to XG that can replicate the working of an on-premise Active Directory. This article assumes there is an existing Azure AD environment in place.
Note: The following step is required for cloud-only user accounts in Azure AD, as the Azure AD account is not synchronized with AD domain services until the user has changed the password by logging in to their office365 login. This password change process causes the password hashes for Kerberos and NTLM authentication to be generated and stored in Azure AD.
Note: Azure accepts self-signed certificates for this purpose. In this example, we use OpenSSL to generate a self-signed chain of certificates. Azure only accepts certs with “extendedkeyusage for server authentication”.
Below is the process to generate self-signed Certs with EKU:serverauth:
$ openssl req -new -key ldapssl_private.key -out azureADldapssl.csrYou are about to be asked to enter information that will be incorporatedinto your certificate request.What you are about to enter is what is called a Distinguished Name or a DN.There are quite a few fields but you can leave some blankFor some fields there will be a default value,If you enter '.', the field will be left blank.-----Country Name (2 letter code) []:CAState or Province Name (full name) []:ONLocality Name (eg, city) []:BurlingtonOrganization Name (eg, company) []:firewallinaboxOrganizational Unit Name (eg, section) []:Sales EngineeringCommon Name (eg, fully qualified host name) []:<yourdomainname>Email Address []:<email@email.com>
Please enter the following 'extra' attributesto be sent with your certificate requestA challenge password []:<Password>
Convert the certificate into PFX format, as Azure accepts the certs in the PFX format.$ openssl pkcs12 -export -out XGazureADcert.pfx -inkey ldapssl_private.key -in azureADcert.crt -certfile azureADca.crtEnter Export Password:Verifying - Enter Export Password:
Next, upload the XGazureADcert.pfx file into Azure AD.
Hi,
So can we use STAS on this ?
We're using XGS3300 with Azure AD cloud and we want to use STAS to control user via firewall rule.
Hi did you configured azure adds with sophos xg ?
Can you please help me in the configuration