The simplest thing is simply to ignore the error. It's trying to write a file in a location which is not writeable by ordinary users. The file it's trying to write helps work around a deficiency in some ancient versions of Windows, helping ensure the randomness of future calls to the command. This is totally unnecessary with current versions of OpenSSL on current versions of Windows, so it doesn't matter at all that it can't create the file.
Regards, jjf > -----Original Message----- > From: John [mailto:jw72...@verizon.net] > Sent: Friday, July 06, 2012 4:07 AM > To: openssl-users@openssl.org > Subject: rand in Windows > > 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. > > > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager majord...@openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org