<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d1074803565153692547\x26blogName\x3dInnoLearning\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://innolearning.blogspot.com/search\x26blogLocale\x3den_US\x26v\x3d2\x26homepageUrl\x3dhttp://innolearning.blogspot.com/\x26vt\x3d2174717628392424844', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe", messageHandlersFilter: gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER, messageHandlers: { 'blogger-ping': function() {} } }); } }); </script>

InnoLearning

Simple steps to Self Sign the JAR through command prompt
Friday, June 4, 2010

Step 1: Generating Keystore, In the command prompt, cd to the path where we have placed the Jars and type:
keytool -genkey -keystore myKeystore -alias myself
(Note that if you run keytool it would prompt you for information like your First Name and Last Name, Organization, Business Unit, etc - I usually provide everything as blank (by pressing the return key at the prompt. At the end please provide "yes" reply for confirmation question)

Step 2: Self-Signing the key & cert in the keystore:
keytool -selfcert -alias myself -keystore myKeystore

Step 3: (Optional)
Confirming by listing all the values in the keystores which we have created.
keytool -list -keystore myKeystore

Step4: Signing the Jar. Below command will finally sign the UIManager.jar present in the current directory with the keystore which we have created in above steps.
jarsigner -keystore myKeystore UIManager.jar myself

Self-Signed Jar is ready!!!

Labels: , , , , ,

posted by MIGHTYMAK @ 9:06 PM, ,