Skip to main content
Aug 8, 2017 3:49 PM UTC

OPENSSL error 24064064

307738856:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seed
ed:./md_rand.c:527:You need to read the OpenSSL FAQ, http://www.openssl.org/supp
ort/faq.html

How to resolve this error ?

    16 replies

    Aug 14, 2017 12:59 PM UTC

    Were you paying support, we might be able to help. However we need to prioritize our time on customers paying maintenance.

    I am only going to become paying client if I can evaluate the product on
    our z/OS system.
    Currently the product does not work for us so no reason to become paying
    client.

    Thanks…Dani

    Aug 14, 2017 2:46 PM UTC

    307738856:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seed
    ed:./md_rand.c:527:You need to read the OpenSSL FAQ, http://www.openssl.org/supp
    ort/faq.html

    How to resolve this error ?

    I’m not sure we could even offer maintenance at the 1.10 level. From IBM Support Software lifecycle z/OS 1.10.x:

    Lifecycle dates, announcement letters and other information
    GA26-Sep-2008, 208-186 EOM 19-Oct-2009 EOS 30-Sep-2011, 910-169 Lifecycle policy Standard
    Note: 5656-A01 Life Cycle Extension is Withdrawn from Marketing 8-26-13

    We don’t internally have any systems running at the 1.10 level, so we would have no way of testing fixes.

    Aug 14, 2017 3:10 PM UTC

    I’m not sure we could even offer maintenance at the 1.10 level. From IBM Support Software lifecycle z/OS 1.10.x:

    Lifecycle dates, announcement letters and other information
    GA26-Sep-2008, 208-186 EOM 19-Oct-2009 EOS 30-Sep-2011, 910-169 Lifecycle policy Standard
    Note: 5656-A01 Life Cycle Extension is Withdrawn from Marketing 8-26-13

    We don’t internally have any systems running at the 1.10 level, so we would have no way of testing fixes.

    We are going to upgrade soon to z/Os 2.2 and I’m sure you will support the
    product at that level.
    I am not asking for a fix but rather asking if there is away around using
    /etc/random.

    Aug 14, 2017 4:35 PM UTC

    We are going to upgrade soon to z/Os 2.2 and I’m sure you will support the
    product at that level.
    I am not asking for a fix but rather asking if there is away around using
    /etc/random.

    Near as I can tell, there is no way to avoid using /dev/random. OpenSSL has to be very careful WRT to generation of random seeds, and this is the most reliable approach on Unix systems, so the standard code provides no alternative. There are hacks available for other operating systems, but they need to be compiled in when the code is built, and are not necessarily secure.

    Aug 17, 2017 9:06 AM UTC

    Z/OS 1.10
    I do this from OMVS

    Please keep in mind that z/OS 1.10 is ancient and unsupported by IBM. Why should Rocket support openssl running in z/OS 1.10?

    Here z/OS 2.2, I’m unable to get an error using your openssl command. I have the same openssl you have.

    Aug 17, 2017 9:07 AM UTC

    Near as I can tell, there is no way to avoid using /dev/random. OpenSSL has to be very careful WRT to generation of random seeds, and this is the most reliable approach on Unix systems, so the standard code provides no alternative. There are hacks available for other operating systems, but they need to be compiled in when the code is built, and are not necessarily secure.

    Hi Jerry,
    I did a test, stopping ICSF. openssl still worked, i.e. neither /dev/random nor /dev/urandom are used when running
    openssl enc -aes-256-cfb -salt -pass pass:test -in /u/smpe/GIMZIP/package2.tar -out …