How do i generate corda nodes keystores in dev mode?

+1 vote

In corda dev mode, does a new identity certificate generates every time it starts up? How is the new identity certificate signed by the certificate authority?

Apr 11, 2018 in Blockchain by nsv999
• 5,030 points
178 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
+1 vote
Best answer

In Corda, the node will look into its keystore to check if it already has an identity certificate, and if it doesn't, then it gets created automatically. 

This is done by adding the following line to each node's node.conf file:

devMode : true

 A hardcoded test root CA is used to sign these certificates for dev purposes.

Once the keystore and certificates have been generated, you can turn off dev mode if you want. You do this by stopping each node, setting

 devMode : false

and then restarting each node.

Outside of dev mode, the node will expect the relevant certificates to already exist in its keystore, and will throw an exception if they don’t exist.

answered Apr 11, 2018 by Perry
• 16,450 points

selected Aug 7, 2018 by Omkar

Related Questions In Blockchain

0 votes
1 answer

How do I calculate number of full nodes in bitcoins/altcoins?

You can not calculate/estimate the total number ...READ MORE

answered Jul 17, 2018 in Blockchain by Shashank
• 10,330 points
18 views
+4 votes
2 answers

How do I create a new block in Hyperledger Fabric?

This link might help you: https://github.com/hyperledger/fabric-sample ...READ MORE

answered Oct 11, 2018 in Blockchain by Sahu
345 views
+1 vote
1 answer

How do i change the names of validating peers in IBM Bluemix blockchain?

IBM Bluemix Blockchain service Hyperledger Fabric v0.6 will ...READ MORE

answered Apr 10, 2018 in Blockchain by Perry
60 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How do I change default service names in Corda Demobench?

Each Corda node individually advertises the services ...READ MORE

answered Aug 14, 2018 in Blockchain by Perry
• 16,450 points
66 views
0 votes
1 answer

How do I send back ethers to the sender of the tokens in a smart contract?

Whenever a smart contract receives ether via ...READ MORE

answered May 30, 2018 in Blockchain by Perry
• 16,450 points
182 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.