"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?

John


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to