{"id":1384,"date":"2020-11-17T15:50:56","date_gmt":"2020-11-17T02:50:56","guid":{"rendered":"https:\/\/www.ronella.xyz\/?p=1384"},"modified":"2020-11-17T15:50:56","modified_gmt":"2020-11-17T02:50:56","slug":"deleting-an-entry-from-a-java-keystore","status":"publish","type":"post","link":"https:\/\/www.ronella.xyz\/?p=1384","title":{"rendered":"Deleting an Entry from a Java Keystore"},"content":{"rendered":"<p>Use the following command to delete an entry of a Java keystore:<\/p>\n<blockquote><p>The keytool is normally found in $JAVA_HOME\/jre\/bin (i.e. the $JAVA_HOME variable is where you\u2019ve installed JDK).<\/p><\/blockquote>\n<pre style=\"white-space: pre;\">keytool -delete -v -alias &lt;ALIAS&gt; -keystore &lt;KEYSTORE_FILE&gt; -storepass &lt;KEYSTORE_PASSWORD&gt;<\/pre>\n<table>\n<tbody>\n<tr>\n<td><strong>Token<\/strong><\/td>\n<td><strong>Description<\/strong><\/td>\n<\/tr>\n<tr>\n<td>ALIAS<\/td>\n<td>The alias used upon importing the certificate.<\/td>\n<\/tr>\n<tr>\n<td>KEYSTORE_FILE<\/td>\n<td>The target key store file <em>(e.g. <strong>cacerts<\/strong> found in $JAVA_HOME\/jre\/lib\/security)<\/em><\/td>\n<\/tr>\n<tr>\n<td>KEYSTORE_PASSWORD<\/td>\n<td>The password for accessing the keystore <em>(i.e. the default is <strong>changeit<\/strong>)<\/em><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Use the following command to delete an entry of a Java keystore: The keytool is normally found in $JAVA_HOME\/jre\/bin (i.e. the $JAVA_HOME variable is where you\u2019ve installed JDK). keytool -delete -v -alias &lt;ALIAS&gt; -keystore &lt;KEYSTORE_FILE&gt; -storepass &lt;KEYSTORE_PASSWORD&gt; Token Description ALIAS The alias used upon importing the certificate. KEYSTORE_FILE The target key store file (e.g. cacerts [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[17,23],"tags":[],"_links":{"self":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/1384"}],"collection":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1384"}],"version-history":[{"count":1,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/1384\/revisions"}],"predecessor-version":[{"id":1385,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/1384\/revisions\/1385"}],"wp:attachment":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}