I doubt those two messages really represent the same underlying error condition. They both describe two very different states of affairs. It is not merely that one is more useful or accurate than the other--they are completely different. I suspect the reason you're getting these two different error messages is because you actually have two different errors.
If they are in fact arising from the same error, then this is an outright bug in the error reporting. Patrick wrote: > How can I get JSS to return an error message similar to NSS? For example, > when my client connects to my server and the server checks the client's cert > and finds it does not trust the issuer, JSS will say something like "Could > not find cert or key for authentication", whereas NSS will say sometime like > "User does not trust issuer of peer's certificate" (which is more useful > message for the user to troubleshoot). I'm hoping maybe I can't tweak > something in the JSS build system? > > -- POC > >
