Using the Version 1 Certificates to Run Windows Media License Service
Before you can issue licenses by using Windows Media Rights Manager 10 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
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
In the Samples subdirectory of the Windows Media Rights Manager 10 SDK installation directory, open the Importv1.vbs file.
Locate the code enrollobj.ImportPrivateKey "XXX", and then replace XXX with the value for license_server_private_key.
Locate the code enrollobj.StoreCertificate "cert1", "XXX", and then replace XXX with the value for cert1.
Locate the code enrollobj.StoreCertificate "cert2", "XXX", and then replace XXX with the value for cert2.
Save your changes to this file.
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