<?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: Apache, Open-ssl &amp;quot;PRNG not seeded&amp;quot; when making certificate, in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-open-ssl-quot-prng-not-seeded-quot-when-making/m-p/2698267#M57280</link>
    <description>Jeff - I'll probably have to do that. Thanks.&lt;BR /&gt;&lt;BR /&gt;Sri,&lt;BR /&gt;&lt;BR /&gt;When I try what was successful for you I get the same error:&lt;BR /&gt;&lt;BR /&gt;./openssl req -new -keyout myprivate.key -out mypublic.csr&lt;BR /&gt;Using configuration from /usr/local/ssl/openssl.cnf&lt;BR /&gt;unable to load 'random state'&lt;BR /&gt;This means that the random number generator has not been seeded&lt;BR /&gt;with much random data.&lt;BR /&gt;Generating a 1024 bit RSA private key&lt;BR /&gt;14805:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:md_rand.c:501:You need to read the OpenSSL FAQ, &lt;A href="http://www.openssl.org/support/faq.html" target="_blank"&gt;http://www.openssl.org/support/faq.html&lt;/A&gt;&lt;BR /&gt;14805:error:04069003:rsa routines:RSA_generate_key:BN lib:rsa_gen.c:182:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 05 Apr 2002 19:49:28 GMT</pubDate>
    <dc:creator>Jim Loucks</dc:creator>
    <dc:date>2002-04-05T19:49:28Z</dc:date>
    <item>
      <title>Apache, Open-ssl "PRNG not seeded" when making certificate,</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-open-ssl-quot-prng-not-seeded-quot-when-making/m-p/2698261#M57274</link>
      <description>In trying to get Apache and open-ssl running, one of the last steps is to "make certificate" in the ...apache/src directory. The make returns the following error:&lt;BR /&gt;&lt;BR /&gt;13909:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:md_rand.c:501:You need to read the OpenSSL FAQ, &lt;A href="http://www.openssl.org/support/faq.html" target="_blank"&gt;http://www.openssl.org/support/faq.html&lt;/A&gt;&lt;BR /&gt;13909:error:04069003:rsa routines:RSA_generate_key:BN lib:rsa_gen.c:182:&lt;BR /&gt;&lt;BR /&gt;In looking at the above URL in the error message, I was led to this page: &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.apache-ssl.org/docs.html#SSLRandomFile" target="_blank"&gt;http://www.apache-ssl.org/docs.html#SSLRandomFile&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Which gives this example:&lt;BR /&gt;&lt;BR /&gt;SSLRandomFile file /dev/urandom 1024&lt;BR /&gt;&lt;BR /&gt;I can't figure out what that means or what I'm supposed to do with it. I've changed a line in the Configuration file from:&lt;BR /&gt;&lt;BR /&gt;  Rule DEV_RANDOM=default&lt;BR /&gt;&lt;BR /&gt;to&lt;BR /&gt;  Rule DEV_RANDOM=truerand&lt;BR /&gt;&lt;BR /&gt;But still cannot make the certificate. The /dev/urandom device (nor /dev/random) exist on this box. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Apr 2002 19:18:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-open-ssl-quot-prng-not-seeded-quot-when-making/m-p/2698261#M57274</guid>
      <dc:creator>Jim Loucks</dc:creator>
      <dc:date>2002-04-05T19:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Apache, Open-ssl "PRNG not seeded" when making certificate,</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-open-ssl-quot-prng-not-seeded-quot-when-making/m-p/2698262#M57275</link>
      <description>Whoops. Got a typo in my first post. The /dev/random and /dev/urandom devices do NOT exist on this system.</description>
      <pubDate>Fri, 05 Apr 2002 19:24:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-open-ssl-quot-prng-not-seeded-quot-when-making/m-p/2698262#M57275</guid>
      <dc:creator>Jim Loucks</dc:creator>
      <dc:date>2002-04-05T19:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Apache, Open-ssl "PRNG not seeded" when making certificate,</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-open-ssl-quot-prng-not-seeded-quot-when-making/m-p/2698263#M57276</link>
      <description>Jim,&lt;BR /&gt;&lt;BR /&gt;This earlier thread might help:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x05c50bce6f33d6118fff0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x05c50bce6f33d6118fff0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Fri, 05 Apr 2002 19:27:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-open-ssl-quot-prng-not-seeded-quot-when-making/m-p/2698263#M57276</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-04-05T19:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Apache, Open-ssl "PRNG not seeded" when making certificate,</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-open-ssl-quot-prng-not-seeded-quot-when-making/m-p/2698264#M57277</link>
      <description>Thanks, Jeff. I tried something similar before posting to no avail. Then I tried what was recommended in the thread you pointed me to, only to get the same error.</description>
      <pubDate>Fri, 05 Apr 2002 19:34:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-open-ssl-quot-prng-not-seeded-quot-when-making/m-p/2698264#M57277</guid>
      <dc:creator>Jim Loucks</dc:creator>
      <dc:date>2002-04-05T19:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Apache, Open-ssl "PRNG not seeded" when making certificate,</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-open-ssl-quot-prng-not-seeded-quot-when-making/m-p/2698265#M57278</link>
      <description>Hi Jim,&lt;BR /&gt;&lt;BR /&gt;I created  my own certicate using the following process.&lt;BR /&gt;&lt;BR /&gt;#cd /opt/apache/ssl&lt;BR /&gt;#./openssl req -new -keyout myprivate.key -out mypublic.csr&lt;BR /&gt;Answer few questions here...&lt;BR /&gt;#./openssl rsa -in myprivate.key -out my.cert.key &lt;BR /&gt;#./openssl x509 -in mypublic.csr -out my.cert.cert -req -signkey my.cert.key -d&lt;BR /&gt;ays 365                                                                         &lt;BR /&gt;&lt;BR /&gt;This worked for me.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Apr 2002 19:38:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-open-ssl-quot-prng-not-seeded-quot-when-making/m-p/2698265#M57278</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-04-05T19:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Apache, Open-ssl "PRNG not seeded" when making certificate,</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-open-ssl-quot-prng-not-seeded-quot-when-making/m-p/2698266#M57279</link>
      <description>Jim,&lt;BR /&gt;&lt;BR /&gt;Well, w/o /dev/random ( as almost all other flavors have) we HPers are stuck with random(3m) which of course is ueseless cryptographically.&lt;BR /&gt;Good luck - I suggest you call/write the Apache folks &amp;amp; gently remind them you're installing on HP-UX &amp;amp; ask them what the heck you're supposed to do w/o a /dev/random?&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Fri, 05 Apr 2002 19:44:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-open-ssl-quot-prng-not-seeded-quot-when-making/m-p/2698266#M57279</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-04-05T19:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Apache, Open-ssl "PRNG not seeded" when making certificate,</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-open-ssl-quot-prng-not-seeded-quot-when-making/m-p/2698267#M57280</link>
      <description>Jeff - I'll probably have to do that. Thanks.&lt;BR /&gt;&lt;BR /&gt;Sri,&lt;BR /&gt;&lt;BR /&gt;When I try what was successful for you I get the same error:&lt;BR /&gt;&lt;BR /&gt;./openssl req -new -keyout myprivate.key -out mypublic.csr&lt;BR /&gt;Using configuration from /usr/local/ssl/openssl.cnf&lt;BR /&gt;unable to load 'random state'&lt;BR /&gt;This means that the random number generator has not been seeded&lt;BR /&gt;with much random data.&lt;BR /&gt;Generating a 1024 bit RSA private key&lt;BR /&gt;14805:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:md_rand.c:501:You need to read the OpenSSL FAQ, &lt;A href="http://www.openssl.org/support/faq.html" target="_blank"&gt;http://www.openssl.org/support/faq.html&lt;/A&gt;&lt;BR /&gt;14805:error:04069003:rsa routines:RSA_generate_key:BN lib:rsa_gen.c:182:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Apr 2002 19:49:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-open-ssl-quot-prng-not-seeded-quot-when-making/m-p/2698267#M57280</guid>
      <dc:creator>Jim Loucks</dc:creator>
      <dc:date>2002-04-05T19:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Apache, Open-ssl "PRNG not seeded" when making certificate,</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-open-ssl-quot-prng-not-seeded-quot-when-making/m-p/2698268#M57281</link>
      <description>Hi Jim,&lt;BR /&gt;&lt;BR /&gt;Sorry I didn't read your message clearly. I knew I had this problem as on HP you don't have /dev/random. There is a work around for it if I remember correctly, it will initialize a .rnd file in root's home.&lt;BR /&gt;&lt;BR /&gt;Take three more test files and compress them. You can use files like /var/adm/sw/swagent.log etc.,&lt;BR /&gt;&lt;BR /&gt;Use the command &lt;BR /&gt;&lt;BR /&gt;#openssl genrsa -des3 -rand file1.Z:file2.Z:file3.Z -out my.key 1024.&lt;BR /&gt;&lt;BR /&gt;After generating the key, verify if you have the file .rnd in your home directory. You should not get this error from then onwards.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 05 Apr 2002 20:22:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-open-ssl-quot-prng-not-seeded-quot-when-making/m-p/2698268#M57281</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-04-05T20:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Apache, Open-ssl "PRNG not seeded" when making certificate,</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/apache-open-ssl-quot-prng-not-seeded-quot-when-making/m-p/2698269#M57282</link>
      <description>Thanks, Sri. That did it. I was working on a similar idea but didn't know about the .rnd file. Is this documented somewhere?</description>
      <pubDate>Sun, 07 Apr 2002 18:56:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/apache-open-ssl-quot-prng-not-seeded-quot-when-making/m-p/2698269#M57282</guid>
      <dc:creator>Jim Loucks</dc:creator>
      <dc:date>2002-04-07T18:56:25Z</dc:date>
    </item>
  </channel>
</rss>

