<?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>topic Re: How to create correct .keystore for NXP iMX8QM AAOS12? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1581835#M200016</link>
    <description>&lt;P&gt;&lt;SPAN&gt;..../build-tools/33.0.0/apksigner&amp;nbsp;sign&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;--append-signature --ks .../platform.keystore ..../android-build/build/outputs/apk/release/android-build-release-signed.apk&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2023 16:01:55 GMT</pubDate>
    <dc:creator>rampe</dc:creator>
    <dc:date>2023-01-12T16:01:55Z</dc:date>
    <item>
      <title>How to create correct .keystore for NXP iMX8QM AAOS12?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1561529#M198156</link>
      <description>&lt;DIV&gt;Could you hint how to create .keystore properly? I tried using platform.pk8 and .x509.pem files from&amp;nbsp; &lt;I&gt;&lt;SPAN class=""&gt;nxp&lt;/SPAN&gt;/android_build/build/make/target/product/security&lt;/I&gt; like below&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;I&gt;openssl pkcs8 -inform DER -nocrypt -in platform.pk8 -out &lt;SPAN class=""&gt;nxp&lt;/SPAN&gt;imx8qmaaos12-platform.key&lt;/I&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;I&gt;openssl pkcs12 -export -in platform.x509.pem -inkey &lt;SPAN class=""&gt;nxp&lt;/SPAN&gt;imx8qmaaos12-platform.key -name &lt;SPAN class=""&gt;nxp&lt;/SPAN&gt;imx8qmaaos12-platform -out &lt;SPAN class=""&gt;nxp&lt;/SPAN&gt;imx8qmaaos12-platform.pem -password pass:password&lt;/I&gt;&lt;/LI&gt;&lt;LI&gt;&lt;I&gt;../../../../../prebuilts/jdk/jdk11/linux-x86/bin/keytool -importkeystore -destkeystore &lt;SPAN class=""&gt;nxp&lt;/SPAN&gt;imx8qmaaos12-platform.keystore -deststorepass password -srckeystore &lt;SPAN class=""&gt;nxp&lt;/SPAN&gt;imx8qmaaos12-platform.pem -srcstoretype PKCS12 -srcstorepass password&lt;/I&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;But when release.apk is signed with jarsigner or apksigner and app is deployed over ADP we get an error in app startup: "&lt;SPAN&gt;The app is not signed with a valid platform signature. The Car API back end cannot work with an unsigned app.&lt;/SPAN&gt;"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 29 Nov 2022 20:08:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1561529#M198156</guid>
      <dc:creator>rampe</dc:creator>
      <dc:date>2022-11-29T20:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to create correct .keystore for NXP iMX8QM AAOS12?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1564149#M198314</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you try the pkcs11?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 06:47:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1564149#M198314</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2022-12-05T06:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to create correct .keystore for NXP iMX8QM AAOS12?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1567781#M198597</link>
      <description>&lt;P&gt;&lt;EM&gt;openssl&lt;/EM&gt; accepts only pkcs7, pkcs8 and pkcs12.&lt;/P&gt;&lt;P&gt;What would be the proper &lt;EM&gt;keytool &lt;/EM&gt;command? Following does not seem to work&lt;/P&gt;&lt;P&gt;keytool -keystore NONE -storetype PKCS11 -list&lt;BR /&gt;keytool error: java.security.KeyStoreException: PKCS11 not found&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 07:08:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1567781#M198597</guid>
      <dc:creator>rampe</dc:creator>
      <dc:date>2022-12-12T07:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to create correct .keystore for NXP iMX8QM AAOS12?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1569264#M198717</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209397"&gt;@rampe&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you also share the apksigner command you use?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 01:15:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1569264#M198717</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2022-12-14T01:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to create correct .keystore for NXP iMX8QM AAOS12?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1581834#M200015</link>
      <description>&lt;P&gt;&lt;SPAN&gt;build-tools/33.0.0/apksigner&amp;nbsp;sign&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;--append-signature --ks ../platform.keystore ./android-build/build/outputs/apk/release/android-build-release-signed.apk&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 16:00:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1581834#M200015</guid>
      <dc:creator>rampe</dc:creator>
      <dc:date>2023-01-12T16:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to create correct .keystore for NXP iMX8QM AAOS12?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1581835#M200016</link>
      <description>&lt;P&gt;&lt;SPAN&gt;..../build-tools/33.0.0/apksigner&amp;nbsp;sign&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;--append-signature --ks .../platform.keystore ..../android-build/build/outputs/apk/release/android-build-release-signed.apk&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 16:01:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1581835#M200016</guid>
      <dc:creator>rampe</dc:creator>
      <dc:date>2023-01-12T16:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to create correct .keystore for NXP iMX8QM AAOS12?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1609550#M202325</link>
      <description>&lt;P&gt;For example one that was tried&lt;/P&gt;&lt;P&gt;./apksigner sign --append-signature --ks /home/username/dev/docs/outruntonxp/nxpimx8qmaaos12-platform.keystore /home/rami/dev/docs/outruntonxp/wow/build-Outrun_IVI-Android_Qt_6_4_0_Clang_arm64_v8a-Debug/android-build/build/outputs/apk/release/android-build-release-signed.apk&lt;/P&gt;</description>
      <pubDate>Sun, 05 Mar 2023 11:12:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1609550#M202325</guid>
      <dc:creator>rampe</dc:creator>
      <dc:date>2023-03-05T11:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to create correct .keystore for NXP iMX8QM AAOS12?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1609552#M202326</link>
      <description>&lt;P&gt;For example this one had been used&lt;/P&gt;&lt;P&gt;./apksigner sign --append-signature --ks /home/rami/dev/docs/outruntonxp/nxpimx8qmaaos12-platform.keystore /home/username/dev/docs/outruntonxp/wow/build-Outrun_IVI-Android_Qt_6_4_0_Clang_arm64_v8a-Debug/android-build/build/outputs/apk/release/android-build-release-signed.apk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Mar 2023 11:32:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1609552#M202326</guid>
      <dc:creator>rampe</dc:creator>
      <dc:date>2023-03-05T11:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to create correct .keystore for NXP iMX8QM AAOS12?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1609553#M202327</link>
      <description>&lt;P&gt;For example this had been used&lt;/P&gt;&lt;P&gt;./apksigner sign --append-signature --ks /home/rami/dev/docs/outruntonxp/nxpimx8qmaaos12-platform.keystore /home/uname/dev/docs/outruntonxp/wow/build-Outrun_IVI-Android_Qt_6_4_0_Clang_arm64_v8a-Debug/android-build/build/outputs/apk/release/android-build-release-signed.apk&lt;/P&gt;</description>
      <pubDate>Sun, 05 Mar 2023 11:33:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1609553#M202327</guid>
      <dc:creator>rampe</dc:creator>
      <dc:date>2023-03-05T11:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to create correct .keystore for NXP iMX8QM AAOS12?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1624020#M203403</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209397"&gt;@rampe&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I have created internal question to our developers how to proceed correctly with your case.&lt;/P&gt;
&lt;P&gt;Zdenek&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 08:43:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1624020#M203403</guid>
      <dc:creator>zdenek_zadera</dc:creator>
      <dc:date>2023-03-29T08:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to create correct .keystore for NXP iMX8QM AAOS12?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1625818#M203527</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209397"&gt;@rampe&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;In NXP Android release, there are created&amp;nbsp;keys/certs in “device/nxp/common/security/” (platform.pk8 and platform.x509.pem). Are you using keys from this location?&lt;/P&gt;
&lt;P&gt;The apksinger tool supports signing APKs with keystore file or with the private key file and certificate file separately. Below are some useful links may be helpful:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Convert x509.pem and pk8 file to keystore: &lt;A href="https://stackoverflow.com/questions/39657812/how-to-import-x509-pem-pk8-file-into-jks-keystore" target="_blank"&gt;https://stackoverflow.com/questions/39657812/how-to-import-x509-pem-pk8-file-into-jks-keystore&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;apksigner usage: &lt;A href="https://developer.android.com/studio/command-line/apksigner" target="_blank"&gt;https://developer.android.com/studio/command-line/apksigner&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;some basic concept about app-signing: &lt;A href="https://developer.android.com/studio/publish/app-signing" target="_blank"&gt;https://developer.android.com/studio/publish/app-signing&lt;/A&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Zdenek&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 06:32:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-create-correct-keystore-for-NXP-iMX8QM-AAOS12/m-p/1625818#M203527</guid>
      <dc:creator>zdenek_zadera</dc:creator>
      <dc:date>2023-03-31T06:32:44Z</dc:date>
    </item>
  </channel>
</rss>

