[xmlsec] Problem in xmlsec initialization
jnawaz at usc.edu
Fri Oct 8 06:36:40 PDT 2004
As a followup to my own post, here's the error that I captured while xmlsec was initializing:
func=xmlSecOpenSSLAppLoadRANDFile:file=app.c:line=1382:obj=unknown:subj=RAND_load_file:error=4:crypto library function failed:file=
func=xmlSecOpenSSLAppInit:file=app.c:line=54:obj=unknown:subj=xmlSecOpenSSLAppLoadRANDFile:error=1:xmlsec library function failed:
How do I get it to successfully load the rand file at startup? Our system doesn't have /dev/random nor /dev/urandom but uses .rnd file.
From: xmlsec-bounces at aleksey.com [mailto:xmlsec-bounces at aleksey.com]On
Behalf Of Jamshed Nawaz
Sent: Wednesday, October 06, 2004 5:29 PM
To: xmlsec at aleksey.com
Subject: [xmlsec] Problem in xmlsec initialization
I was wondering if anybody came across the problem I'm experiencing & any clues how to fix it. Platform is Solaris 8.
I have a daemon that uses xmlsec 1.2.5 for XML encryption. When I run the daemon from commandline all works fine, but when I put the startup script in rc3.d the function xmlSecCryptoAppInit() returns with error (i.e. -1). I'm using NULL as parameter (as for the parameter I'm not sure what "path to crypto library configuration" means).
Any help is appreciated. Thanks.
xmlsec mailing list
xmlsec at aleksey.com
More information about the xmlsec