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.

Jamshed 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Jamshed Nawaz
Sent: Wednesday, October 06, 2004 5:29 PM
To: [EMAIL PROTECTED]
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.

--
Jamshed



_______________________________________________
xmlsec mailing list
[EMAIL PROTECTED]
http://www.aleksey.com/mailman/listinfo/xmlsec
_______________________________________________
xmlsec mailing list
[EMAIL PROTECTED]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to