On 01/11/2011 06:13 PM, Honza Bambas wrote:
On 1/11/2011 5:36 PM, Bernhard Thalmayr wrote:
Hi experts,

I have apache httpd running with a shared lib using NSS/NSPR.

The lib talks to an SSL enabled server using PR_WRITE. Occasionally
PR_WRITE returns error '-8023'.

OS is CentOS 5.5 64bit.
NSS: @(#)NSS 3.12.5.0 Aug 3 2010 17:15:02
NSPR: @(#)NSPR 4.8.2 2010-08-03 17:13:30

I've tried 'ltrace' to trace the NSS/NSPR library calls but without
success ... 'ltrace' does not show anything.

AFAIH understood the source '-8023' could be
'SEC_ERROR_PKCS11_DEVICE_ERROR' or 'CKR_DEVICE_ERROR'.

There's no other PKCS11 module involved but the internal one.

How can I track down this issue?

TIA,
Bernhard
Some occurrences of this error might get logged by one of these functions:
http://mxr.mozilla.org/mozilla-central/source/security/nss/cmd/pk11mode/pk11mode.c#1603

Thanks for the pointer Honza ....


Check the console and/or error output if you find something that could

a private lib within Apache httpd is using NSS/NSRP ... nothing in any log.

The error is caught and printed in a custom log (using PR_GetError).

-Bernhard
lead us.

-hb-


--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to