<?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: hab4_pki_tree.sh error  - RAND_load_file:Cannot open file  in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/hab4-pki-tree-sh-error-RAND-load-file-Cannot-open-file/m-p/1037470#M152922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/antoniosantagiuliana"&gt;antoniosantagiuliana&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;I managed to solve the issue by commenting out the line :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: rgba(27, 31, 35, 0.05);"&gt;RANDFILE = $ENV::HOME/.rnd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: rgba(27, 31, 35, 0.05);"&gt;from the file /etc/ssl/openssl.conf.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: rgba(27, 31, 35, 0.05);"&gt;I hope this helps you too.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: rgba(27, 31, 35, 0.05);"&gt;reference:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: rgba(27, 31, 35, 0.05);"&gt;&lt;A class="link-titled" href="https://github.com/openssl/openssl/issues/7754" title="https://github.com/openssl/openssl/issues/7754"&gt;Can't load ./.rnd into RNG · Issue #7754 · openssl/openssl · GitHub&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jul 2020 20:14:28 GMT</pubDate>
    <dc:creator>noorahmadshinwa</dc:creator>
    <dc:date>2020-07-21T20:14:28Z</dc:date>
    <item>
      <title>hab4_pki_tree.sh error  - RAND_load_file:Cannot open file</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/hab4-pki-tree-sh-error-RAND-load-file-Cannot-open-file/m-p/1037467#M152919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using hab4_pki_tree.sh script to generate keys and certificates for imX8m mini.&lt;/P&gt;&lt;P&gt;openssl version returns :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;OpenSSL 1.1.1 11 Sep 2018&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I run the script I get this error messages&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Can't load /home/user/.rnd into RNG&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;140034165126976:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:Filename=/home/user/.rnd&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Using configuration from ../ca/openssl.cnf&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Keys and certificates are anyway generated. Are they OK or should I fix what causes that error messages ?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I&amp;nbsp;sought after&amp;nbsp;openssl.cnf in my PC but I cannot find it.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I checked if it was permissions problem by running script with sudo, but still same error appears.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Should I change any setting on OpenSSL ?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I have seen keys and certs files are generated anyway, so can I go on with those files ?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;thank you&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2020 16:52:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/hab4-pki-tree-sh-error-RAND-load-file-Cannot-open-file/m-p/1037467#M152919</guid>
      <dc:creator>antonio_santagi</dc:creator>
      <dc:date>2020-03-02T16:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: hab4_pki_tree.sh error  - RAND_load_file:Cannot open file</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/hab4-pki-tree-sh-error-RAND-load-file-Cannot-open-file/m-p/1037468#M152920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may refer to this:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4?h=imx_v2018.03_4.14.98_2.0.0_ga" title="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4?h=imx_v2018.03_4.14.98_2.0.0_ga"&gt;habv4\imx\doc - uboot-imx - i.MX U-Boot&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2020 21:01:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/hab4-pki-tree-sh-error-RAND-load-file-Cannot-open-file/m-p/1037468#M152920</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2020-03-25T21:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: hab4_pki_tree.sh error  - RAND_load_file:Cannot open file</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/hab4-pki-tree-sh-error-RAND-load-file-Cannot-open-file/m-p/1037469#M152921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the same issue and I'm running the same version of openssl.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2020 15:19:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/hab4-pki-tree-sh-error-RAND-load-file-Cannot-open-file/m-p/1037469#M152921</guid>
      <dc:creator>noorahmadshinwa</dc:creator>
      <dc:date>2020-07-21T15:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: hab4_pki_tree.sh error  - RAND_load_file:Cannot open file</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/hab4-pki-tree-sh-error-RAND-load-file-Cannot-open-file/m-p/1037470#M152922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/antoniosantagiuliana"&gt;antoniosantagiuliana&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;I managed to solve the issue by commenting out the line :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: rgba(27, 31, 35, 0.05);"&gt;RANDFILE = $ENV::HOME/.rnd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: rgba(27, 31, 35, 0.05);"&gt;from the file /etc/ssl/openssl.conf.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: rgba(27, 31, 35, 0.05);"&gt;I hope this helps you too.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: rgba(27, 31, 35, 0.05);"&gt;reference:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: rgba(27, 31, 35, 0.05);"&gt;&lt;A class="link-titled" href="https://github.com/openssl/openssl/issues/7754" title="https://github.com/openssl/openssl/issues/7754"&gt;Can't load ./.rnd into RNG · Issue #7754 · openssl/openssl · GitHub&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2020 20:14:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/hab4-pki-tree-sh-error-RAND-load-file-Cannot-open-file/m-p/1037470#M152922</guid>
      <dc:creator>noorahmadshinwa</dc:creator>
      <dc:date>2020-07-21T20:14:28Z</dc:date>
    </item>
  </channel>
</rss>

