
Public Key Infrastructure Considerations
This section discusses the following concepts:
-
Integrating MDM into an existing PKI
-
Placing Certification Authorities in MDM
-
Renewing certificates
-
Checking the Certificate Revocation List for your global OU model
Integrating MDM into an Existing PKI
The Enterprise Certificate Authority required by MDM functions as the subordinate of an existing Public Key Infrastructure, whether a Microsoft PKI or that of a third party.
To implement the Enterprise Certification Authority as a subordinate, we recommend that you refer to the following documents:
For third party PKIs, you must work with the PKI owners to determine the requirements that need to be met to implement the Microsoft Enterprise Certification Authority as a subordinate. Each PKI may contain subtle differences and it is not within the scope of this guide to cover every possibility.
The following list shows some known issues but is not intended to be exhaustive:
Subject Name. Some Certification Authorities use different attribute names or add components such as serial number. For example, they could change the requested name by adding data such as a serial number and change e-mail addresses to E=.
Certificate Policies. A provider may insist on adding their policies. Adding policies later at a lower level is a violation of Certificate Policies hierarchy and leads to an Invalid Certificate Policies error.
Subject Alternative Name: The parent Certification Authority can add any type of name. For example, an e-mail address.
Accessibility of Content delivery platform and AIA URLs. If the provider uses their URL on the Internet, your company servers might have difficulty validating the CRL. This is because it is accepted practice that there be no Internet access for servers and no proxy configured in the server context. You can ask the provider if you can obtain their CRL from a server accessible from your company network, and instead embed this URL in your certificates. MDM does not currently use CRLs, so this issue may not arise.
Renewal and Content delivery platform and AIA URLs. Some PKIs do not implement key indices in Certificate Distribution Point URLs, so you cannot apply the Microsoft PKI lifetime nesting practices. Therefore, you can only renew these Certification Authorities manually, immediately before they expire.
The items in this are examples only. This list is not comprehensive. Because of the complexity of PKI, you may need to resolve other issues to achieve the objective of the Microsoft Enterprise Certificate Authority acting as a subordinate Certification Authority.
Placing Certification Authorities in MDM
The Enterprise Certificate Authority used to issue MDM Device certificates must be located in the same Active Directory site as the MDM Enrollment Server. The Global Catalog against which the enrollment process creates new Active Directory computer objects must also be in this same Active Directory site.
Although the Certification Authority that contains the MDM Certificate templates must be located in the same site, it can be in a different domain in the forest.
If these conditions are not met, enrollment will fail. Active Directory replication must be done before the enrollment process can continue. MDM handles an enrollment request immediately.
If you locate multiple MDM Enrollment Servers in the same Active Directory site, they may not depend on multiple supporting Enterprise Certification Authorities. If you cannot put them in the same site, then each MDM Enrollment Server requires an issuing Certification Authority in addition to having domain-specific Global Catalogs.
Renewing Certificates
The Enterprise Edition Certification Authority permits automatic renewal of certificates prior to expiry.
In MDM this capability is enabled for Managed devices only. For the MDM infrastructure to function normally, you must manually renew all other MDM components before they expire. If an administrator does not renew the MDM infrastructure certificates in a timely basis, it may impact the MDM service and result in avoidable support calls.
The MDM Deployment Guide provides instructions for manual renewal, or you can use the MDM Cert tool that is available in the MDM Resource Kit.
To view the MDM Deployment Guide, see this Microsoft Web site: http://go.microsoft.com/fwlink/?LinkID=108951.
The MDM 2008 Resource kit is available for download at this Microsoft Web site: http://go.microsoft.com/fwlink/?LinkID=116086.
The following table shows how and when the certificates need to be renewed.
|
Component
|
Type
|
Lifetime
|
Renewal Status
|
|---|
|
MDM Device Management Server
|
MDM Web server
|
2 Years
|
Manual
|
|
MDM Enrollment Server
|
MDM Web server
|
2 Years
|
Manual
|
|
MDM Gateway Server
|
MDM Web server
|
2 Years
|
Manual
|
|
Gateway Central Management (GCM). This is located on the Device Management Server.
|
MDM GCM
|
2 Years
|
Manual
|
|
Enrolled Devices
|
Windows Mobile 6.1 Managed device
|
1 Year
|
Automatic
|
Checking the Certificate Revocation List (CRL)
The MDM Device Management Server and MDM Enrollment Server both use CRL checking. However, because it is built upon Microsoft PKI, it is hidden from the administrator and requires no intervention.
The MDM Gateway Server does not use CRL checking. This is because we determined that it would not meet enterprise needs for denying device access in the context of the way MDM is designed to be used.
Active Directory-based CRL is updated on default or administrator defined intervals. Updates can also be based on deltas, where only changes to the CRL are updated rather than the entire CRL.
In MDM, if an administrator denies access to a device, the denial must take effect immediately. It is not acceptable to wait until the CRL updates because there is a delay between the time the certificate is revoked and the CRL is updated. During the delay, the device could connect normally, which is contrary to the desired objective.
Revoking the device’s certificate also makes all forms of device wipe ineffective because the device is prohibited from connecting to the MDM Gateway Server.
A certificate that has been revoked cannot then be un-revoked. The only way that the device could join the domain again is for you to reset it to factory defaults (by using Clear Storage), and then enroll again.
To immediately block a device, administrators can implement a Device Block List on the MDM Console. There is a negligible delay between the device being blocked and the MDM Gateway Server being updated.
When a device is blocked, the MDM Gateway Server is notified that a device is on the blocked list and should not be permitted to connect.
An example of when blocking a device is appropriate is when a user loses their phone but believes they left it in a hotel. An administrator-initiated device wipe may be too drastic in this instance. Instead, you can protect the enterprise from the potentially lost device by blocking it so that it cannot connect to the MDM Gateway Server. This allows time for the device to be found and returned to the user. If it has not been returned within a certain period of time, you can then initiate the device wipe.
A lost device left powered on has very limited lifetime during which you can perform a wipe. Therefore, unless the user is quite sure of the location of the device, the most prudent course of action is to initiate a device wipe.
The following steps show how to block a device.
-
In the MDM Console, the administrator locates the device under All Managed Devices.
-
When the device is located, the administrator can select Block Device Connections or issue Wipe Now.
-
The administrator selects Block Device Connections, and at the ensuing prompt selects Yes. A message displays that states that you cannot connect to the Gateway Server if you block the device.
-
To confirm that the device is blocked, you can go to the Blocked Devices screen. If the device does not display immediately, you may need to refresh the screen.
-
The device is now blocked from connecting to the MDM Gateway Server. The MDM Gateway Server rejects any attempts at establishing a VPN connection.
The administrator can unblock the device at any time. Once unblocked, the user can use the device normally, or the administrator can initiate device wipe