<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How can I export private key from gateway.jks in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-export-private-key-from-gateway-jks/m-p/163522#M53590</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/206/hosako.html" nodeid="206"&gt;@Hajime&lt;/A&gt;&lt;P&gt;Seems like your keystore file is not valid. Are you able to do -list operation on that file? if the keystore file is not sensitive you can attach it here, can validate the file&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2017 00:14:49 GMT</pubDate>
    <dc:creator>apappu</dc:creator>
    <dc:date>2017-02-08T00:14:49Z</dc:date>
    <item>
      <title>How can I export private key from gateway.jks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-export-private-key-from-gateway-jks/m-p/163520#M53588</link>
      <description>&lt;P&gt;I would like to get the private key from gateway.jks and tried the following command on my test cluster:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;keytool -importkeystore -srckeystore ./gateway.jks -destkeystore gateway.jks -srcstoretype JKS -deststoretype PKCS12 -srcstorepass hadoop -srckeypass hadoop -deststorepass changeit -destkeypass changeit&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Then getting error:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;keytool error: java.io.IOException: DerInputStream.getLength(): lengthTag=109, too big.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to fix/workaround above error?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2017 17:06:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-export-private-key-from-gateway-jks/m-p/163520#M53588</guid>
      <dc:creator>hosako</dc:creator>
      <dc:date>2017-02-07T17:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: How can I export private key from gateway.jks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-export-private-key-from-gateway-jks/m-p/163521#M53589</link>
      <description>&lt;P&gt;The destination and source keystore are the same file: gateway.jks &lt;/P&gt;&lt;P&gt;Change the filename of -destkeystore gateway.jks maybe -destkeystore gateway.p12?&lt;/P&gt;&lt;P&gt;You'll also need to specify the alias: -alias gateway-identity&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2017 17:59:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-export-private-key-from-gateway-jks/m-p/163521#M53589</guid>
      <dc:creator>alexandruanghel</dc:creator>
      <dc:date>2017-02-07T17:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can I export private key from gateway.jks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-export-private-key-from-gateway-jks/m-p/163522#M53590</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/206/hosako.html" nodeid="206"&gt;@Hajime&lt;/A&gt;&lt;P&gt;Seems like your keystore file is not valid. Are you able to do -list operation on that file? if the keystore file is not sensitive you can attach it here, can validate the file&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 00:14:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-export-private-key-from-gateway-jks/m-p/163522#M53590</guid>
      <dc:creator>apappu</dc:creator>
      <dc:date>2017-02-08T00:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: How can I export private key from gateway.jks</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-export-private-key-from-gateway-jks/m-p/163523#M53591</link>
      <description>&lt;P&gt;yes, it was my stupid typo. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 05:44:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-export-private-key-from-gateway-jks/m-p/163523#M53591</guid>
      <dc:creator>hosako</dc:creator>
      <dc:date>2017-02-08T05:44:13Z</dc:date>
    </item>
  </channel>
</rss>

