Hi Carsten,
On Mon, 25 Jan 2016, Carsten Kurz via DCPomatic wrote:
Still trying to get a grip on our Barco certificate
issue.
What I don't understand is - there seem to be certificate/pem files with
one, or multiple certificate blocks in them (multiple '-----BEGIN
CERTIFICATE-----' '-----END CERTIFICATE-----' blocks).
Sometimes when I request a certificate, I get a single .pem file,
sometimes I get multiple files. I understand there are separate
certificates for J2K and MPEG-2, and also certificates that include the
root chain or not.
That's it, as I understand it. Sometimes you get just the leaf
certificate (which contains a public key used to encrypt KDMs) and
sometimes you also get the rest of the chain so you can see the trust.
E.g. when I download my ICMP certificate from the ICMP
itself, I get an 8KB BARCO-ICMP-9730000916.pem.
When I request it from Barco, I get a ZIP file with two files:
Barco-ICMP.9730000916_cert.pem 4kB
Barco-ICMP.9730000916_chain.pem 8kB
Which of the two are actually needed for KDM creation? DOM seems to accept both - but
when I create encrypted DCPs, neither works.
The single certificate should be enough.
The two 8kB files are bit-identical.
I received a Doremi certificate file that I used sucessfully with DOM to
create and play an encrypted DCP - but that file only contained a single
certificate block. How can it be those certificate files are so
different?
Which files are you talking about being "different" here?
I understand that chains will not only contain the
device certificate
itself, but also it's parent-certificate, in the case of the Barco ICMP
e.g. leading the device cetificate back to Barco. As such, I would
assume that for KDM creation, a software would be able to work with both
types of files? How will a software know which is which, when the number
of certificate blocks differ between devices?
The software must use the leaf certificate to create the KDM. I would
guess that the easiest way to handle chains would be to use the leaf
certificate (which the software can find).
Regards,
Carl