securitycertificateplayready

PlayReady Company Certificates for testing


I am writing a tool suite that, among other things, must support PlayReady Model Certificate generation from various Device Company CA certificates (which we will receive from customers).

In order to properly test the software end-to-end I need to obtain some test Company certificates. I could not find the relevant information in PlayReady documentation that was provided by Microsoft. Is there a way to obtain such certificates easily?

(Thinking about it, there probably should exist a root certificate for testing purposes only - I could not find any info on that as well)

Thanks in advance.


Solution

  • What you are looking for can be found in a subdirectory below the 'test' directory of the source code that is provided when you install the Microsoft PlayReady Device Porting Kit (PK). If you do not have this Device PK MSI installer (perhaps you only have the Microsoft PlayReady Certificate Generation Kit MSI), then I recommend that you contact Microsoft to legally obtain a copy of the latest PlayReady Device PK MSI.

    If you have PlayReady Device PK 2.0.0:

    That said, you should be able to use the following tools, and some of the files above, to simulate/test the full certificate request and generation process:

    Note: Since PlayReady certificate chains are in "binary" format (i.e. not XML), you will need to use bcertdump to view them, similar to: c:\PlayReady\Device_PK_2.0.0\Tools\bcertdump.exe -b:.\rootcert.dat -v

    Also, if/when you have PlayReady Device PK 2.5.0, things may be organized (and work) slightly differently.