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,500 points
1,701 views

1 answer to this question.

+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
• 17,100 points

selected Aug 7, 2018 by Omkar
The solution didn't work for me. I am using corda 4.0. The node start-up takes very long time without completion. Further the node is unable to load any cordapps. Please suggest any solution.
Are you getting any errors while loading cordapps?

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,400 points
1,355 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
2,654 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 11, 2018 in Blockchain by Perry
971 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
• 17,100 points
762 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
• 17,100 points
3,601 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP