-12204 is -12K + 84. -12K means it's an SSL error. See http://lxr.mozilla.org/mozilla/source/security/nss/cmd/lib/SSLerrs.h#310
SSL_ERROR_TOKEN_SLOT_NOT_FOUND = (SSL_ERROR_BASE + 84), "No PKCS#11 token could be found to do a required operation." I'd guess you have a corrupt secmod.db file, or perhaps you are using experimental PKCS#11 crypto software? SSL tried to find a crypto token (device) that could do either CKM_SSL3_PRE_MASTER_KEY_GEN or the combination of CKM_SSL3_PRE_MASTER_KEY_GEN and CKM_RSA_PKCS, and did not find any device that said it could do those things. -- Nelson Bolyard Disclaimer: I speak for myself, not for Netscape
