delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/24/06:44:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 24 Jan 2003 12:43:09 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: question about openssl
Message-ID: <20030124114309.GD29236@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3E30902C DOT 3C6AEDF2 AT sesame DOT com>
Mime-Version: 1.0
In-Reply-To: <3E30902C.3C6AEDF2@sesame.com>
User-Agent: Mutt/1.4i

On Thu, Jan 23, 2003 at 05:00:28PM -0800, Maria Scharin wrote:
> Hello,
> 
> I have installed cygwin and I am trying to create a certificate using
> openssl.
> The command is:
> openssl req -new -out server.csr
> And I get the following:
> unable to write 'random state'

It sounds as if you have not enough permissions to create or write
to the file.  The default is $HOME/.rnd.  Check the setting of
your $HOME and the permissions in general.  The function will fail
e. g. if you don't havge an env. variable $HOME.

Just FYI, I just tested the above command on my Cygwin box and it worked
fine so at least I know that it can work.

> I searched this on google and I found one entry saying that I have to
> set RANDFILE in the environment or use the "-rand" option.

You *can* set RANDFILE, you don't have to.  If you set it, it
overrides $HOME/.rnd.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019