{"id":950,"date":"2019-11-14T13:26:58","date_gmt":"2019-11-14T00:26:58","guid":{"rendered":"https:\/\/www.ronella.xyz\/?p=950"},"modified":"2020-11-17T16:27:11","modified_gmt":"2020-11-17T03:27:11","slug":"listing-the-entries-of-a-java-key-store","status":"publish","type":"post","link":"https:\/\/www.ronella.xyz\/?p=950","title":{"rendered":"Listing the Entries of a Java Keystore"},"content":{"rendered":"<p>Use the following command to list the entries 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 -list -v -keystore &lt;KEYSTORE_FILE&gt; -storepass &lt;KEYSTORE_PASSWORD&gt;<\/pre>\n<blockquote><p>\nInclude the <b>-a &lt;ALIAS&gt;<\/b> parameter to just display a single certificate.\n<\/p><\/blockquote>\n<table>\n<tbody>\n<tr>\n<td><strong>Token<\/strong><\/td>\n<td><strong>Description<\/strong><\/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 list the entries 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 -list -v -keystore &lt;KEYSTORE_FILE&gt; -storepass &lt;KEYSTORE_PASSWORD&gt; Include the -a &lt;ALIAS&gt; parameter to just display a single certificate. Token Description KEYSTORE_FILE The target key store file (e.g. [&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\/950"}],"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=950"}],"version-history":[{"count":4,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/950\/revisions"}],"predecessor-version":[{"id":1398,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/950\/revisions\/1398"}],"wp:attachment":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=950"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=950"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=950"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}