Beta3 CPI signing
- This topic has 4 replies, 3 voices, and was last updated 3 months ago by .
-
Topic
-
Hello,
I’ve run into some major issues trying to get a dynamic network up and running. (I wish to create a setup where we could verify that we could use a dynamic “node” per customer) I have somehow managed to setup the combined worker with an mgm and a notary, but for the life of me I cannot seem to be able to create a CPI out of my CSDE based cordapp. CPI creation seems to always fail with a certificate error: “Error verifying CPB: Error validating code signer’s certificate path, X.509 name: null/xxx. Path does not chain with any of the trust anchors”.
Where is it looking for the trust anchors? Should I even need to sign the CPB using the cli tool? (same result whether I do it or not). I’m trying to use a certificate that is using my own root and intermediate ca and the chain should be ok. RootCA is trusted on os level and I’ve also added the CAs to java truststore. I’ve used the same CA:s to sign the other packages(mgm and notary) just fine. Even running jarsigner’s verify on the signed custom cordapp CPB says that the jar is verified.
What could I be missing here?
Kind regards,
Mika
- You must be logged in to reply to this topic.
Subscribe to our newsletter to stay up to date on the latest developer news, tools, and articles.