Share via


Using the Version 1 Certificates to Run Windows Media License Service

banner art

Previous Next

Using the Version 1 Certificates to Run Windows Media License Service

Before you can issue licenses by using Windows Media Rights Manager 10.1.2 SDK, you must install Windows Media License Service certificates. You can use the certificates you used with Windows Media Rights Manager version 1.

To set up the certificates for Windows Media License Service

  1. In the database for Windows Media Rights Manager 1, open the Drm_constants table and note the following values:

    • license_server_private_key
    • cert1
    • cert2
  2. In the Samples subdirectory of the Windows Media Rights Manager 10.1.2 SDK installation directory, open the Importv1.vbs file.

  3. Locate the code enrollobj.ImportPrivateKey "XXX", and then replace XXX with the value for license_server_private_key.

  4. Locate the code enrollobj.StoreCertificate "cert1", "XXX", and then replace XXX with the value for cert1.

  5. Locate the code enrollobj.StoreCertificate "cert2", "XXX", and then replace XXX with the value for cert2.

  6. Save your changes to this file.

  7. Run the script file on the computer running Windows Media License Service.

Note To run the script, you must be an administrator on the computer running Windows Media License Service.

See Also

Previous Next

© 2007 Microsoft Corporation. All rights reserved.