tag:blogger.com,1999:blog-9017637927480001422.post3518828527331705513..comments2022-04-10T00:51:29.456-07:00Comments on my tech blog: java keystore PrivateKeyEntries vs trustedCertEntrypaolo's techhttp://www.blogger.com/profile/09708497942994659693noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-9017637927480001422.post-80650679791213416632016-01-28T11:12:13.977-08:002016-01-28T11:12:13.977-08:00Hi Can you tell me more clearly about public key a...Hi Can you tell me more clearly about public key and private key.<br />>keytool -genkey -keyalg RSA -alias selfsigned -keystore keystore2.jks -storepass password -validity 9360 -keysize 2048<br /><br />What is your first and last name?<br /> [Unknown]: CLARK<br />What is the name of your organizational unit?<br /> [Unknown]: OO<br />What is the name of your organization?<br /> [Unknown]: O<br />What is the name of your City or Locality?<br /> [Unknown]: JUMO<br />What is the name of your State or Province?<br /> [Unknown]: TU<br />What is the two-letter country code for this unit?<br /> [Unknown]: PA<br />Is CN=clark, OU=OO, O=O, L=jumo, ST=TU, C=PA correct?<br /> [no]: yes<br /><br />Enter key password for <br /> (RETURN if same as keystore password):<br /><br />From the above example, what is the PrivateKey and what is the PublicKey?? Please explain which part belongs PrivateKey and which part belongs PublicKey in above example?sudhakarhttps://www.blogger.com/profile/08192144519798138900noreply@blogger.com