KDM from DKDM error message 04065072

Anything and everything to do with DCP-o-matic.
rtX
Posts: 83
Joined: Tue Apr 22, 2014 6:08 pm

KDM from DKDM error message 04065072

Post by rtX »

I've been asked to provide an emergency KDM for a particular project. I have copies of the DKDMs created using 2.6.3 on another machine and I have the screen public certificates. I've installed DCP-o-matic on a laptop but when I try to load the DKDM using the DCP-o-matic KDM Creator, I get the message:
Could not load DKDM (could not decrypt KDM/error 04065072:rsa routines: RSA_EAY_PRIVATE_DECRYPT padding check failed))

Is this something I am doing incorrectly?

Many thanks.
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: KDM from DKDM error message 04065072

Post by carl »

What certificate was the DKDM created for?
rtX
Posts: 83
Joined: Tue Apr 22, 2014 6:08 pm

Re: KDM from DKDM error message 04065072

Post by rtX »

I used the DKDM created by DCPomatic for use with the DCPomatic KDM creator whilst the DCP is loaded. I can use that DKDM on the original machine to generate KDMs. The problem has arisen when I used a downloaded (anew) version of DCPomatic on another machine, loading a certificate for a screen and the relevant DKDM (a copy from the first machine) and tried to generate a KDM. I guess from your question that the original machine and the laptop will have different certificates and so I can't generate a KDM on the second machine without creating the DKDM again on that machine. By that I mean I had a problem because the certificates are different, which when I think about it makes sense. Is there any way I can set up a new machine with the certificate of the first, if you see what I mean?
Many thanks.
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: KDM from DKDM error message 04065072

Post by carl »

If you close DoM on the 2nd machine and then copy

c:\Users\your_user_name\AppData\Local\dcpomatic2\config.xml

from the first machine to the same location on the second it should copy the entire configuration (including the certificates) to machine 2, then your DKDM should work...

Assuming you're on Windows. On Mac it's /Users/your_user_name/.config/dcpomatic2/config.xml and on Linux /home/your_user_name/.config/dcpomatic2/config.xml
rtX
Posts: 83
Joined: Tue Apr 22, 2014 6:08 pm

Re: KDM from DKDM error message 04065072

Post by rtX »

Thanks, Carl. That's really useful. In effect it means I have two machines from which I can generate KDMs using a single set of DKDMs.
desimaxi
Posts: 15
Joined: Thu Jan 28, 2016 12:10 pm

Re: KDM from DKDM error message 04065072

Post by desimaxi »

Hi..

I dont have this folder(/dcpomatic2) inside .config in my mac....
Can you help me, please...
carl
Site Admin
Posts: 2548
Joined: Thu Nov 14, 2013 2:53 pm

Re: KDM from DKDM error message 04065072

Post by carl »

On the Mac it will be in Library/Preferences/com.dcpomatic/2/config.xml in your Home.
desimaxi
Posts: 15
Joined: Thu Jan 28, 2016 12:10 pm

Re: KDM from DKDM error message 04065072

Post by desimaxi »

Thanks Carl ;)