On Thu, Jul 05, 2012, John wrote: > > > "Thomas J. Hruska" <shineli...@shininglightpro.com> wrote in message > news:<4ff658d9.2010...@shininglightpro.com>... > >On 7/5/2012 8:07 PM, John wrote: > >> Hello. I have OpenSSL-Win64 version 1.0.1c installed on 64-bit Win7. I > >> am trying to use it to create a random generated file for use in > >> stunnel, using this command "openssl rand -out filexyz.rnd -hex 2048" > >> from the Windows CLI. Although it appears to succeed, but I also see > >> this message when it finishes: unable to write 'random state'. I looked > >> at the online help, but nothing I read indicated how to prevent this as > >> far as I can tell. Is this normal for Windows and not something to worry > >> about, or what am I missing? Thanks. > > > >Run the command prompt as Administrator. OpenSSL tries to write > >the state to 'C:\.rnd' since Windows doesn't have /dev/(u)random > >on the system. > > > Hi, Thomas. > > Yes, that was the ticket, sure enough. Thanks again. I wonder where > else I should have looked to find that instruction, or do you a > little genie lamp somewhere? :) Is that included in a different > manual somewhere I have yet to find? >
You can use the RANDFILE environment variable to set an alternative location. Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org