openssl genrsa does not work in CGI mode

From: Reto (spam_at_cuthere-infocopter.ch)
Date: 03/28/05


Date: Mon, 28 Mar 2005 01:51:51 +0200

I've written a Perl script that generates a private key and related CSR for
a
X.509 certificate. It runs perfectly at shell prompt but crashes with the
message

unable to write 'random state'

if I run this code in CGI mode.

Has anybody experience with automation of generating keys with openssl
in CGI mode? Have played with the -rand parameter without real success.

I will be notified for replies that are posted on this page:
http://tertius.infocopter.com/cgi-bin/yabb_qsrz/YaBB_faham.cgi?board=QA