Re: AcquireCredentialsHandle returns SEC_E_UNKNOWN_CREDENTIALS
From: John Banes (jabanes_at_comcast.remove.net)
Date: 10/29/05
- Next message: joy: "Re: winlogon not loading 32 bit xxgina.dll in xp 64 bit"
- Previous message: Ondrej Krajicek: "Winlogon - how to detect that workstation is locked?"
- In reply to: sunit: "Re: AcquireCredentialsHandle returns SEC_E_UNKNOWN_CREDENTIALS"
- Next in thread: sunit: "Re: AcquireCredentialsHandle returns SEC_E_UNKNOWN_CREDENTIALS"
- Reply: sunit: "Re: AcquireCredentialsHandle returns SEC_E_UNKNOWN_CREDENTIALS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 28 Oct 2005 17:24:25 -0700
The error code translates to NTE_PROV_TYPE_NO_MATCH, and it's no doubt
returned from CryptAcquireContext. I've never seen this error code before--I
thought I'd seen them all! In any case, it sounds like the KEY_PROV_INFO
property on the server certificate is set incorrectly. Perhaps you changed
the CSP type without changing the CSP name to match?
As to the original problem, the NTE_BAD_FLAGS error code also indicates a
problem with the KEY_PROV_INFO property. Since this is a machine key the
flags value should be set to 0x20 (CRYPT_MACHINE_KEYSET). No other flags are
allowed.
Regards,
John
"sunit" <sunit@newsgroup.nospam> wrote in message
news:ekxXDO92FHA.3592@TK2MSFTNGP12.phx.gbl...
In continiuation with above message , I read in a link
http://groups.google.co.in/group/microsoft.public.platformsdk.security/browse_thread/thread/6dc1ec51df8bde89/7fd4dab1e4398898?lnk=st&q=Acquirecredentialshandle&rnum=27&hl=en#7fd4dab1e4398898
when performing server-side SSL handshakes, all server private keys need to
be stored in CSPs of type PROV_RSA_SCHANNEL .But in that case also
AcquireCredentialsHandle returns SEC_E_UNKNOWN_CREDENTIALS.In the event
viewer error code :0x8009001b
Pls consider my problem.Thanx in Advance
- Next message: joy: "Re: winlogon not loading 32 bit xxgina.dll in xp 64 bit"
- Previous message: Ondrej Krajicek: "Winlogon - how to detect that workstation is locked?"
- In reply to: sunit: "Re: AcquireCredentialsHandle returns SEC_E_UNKNOWN_CREDENTIALS"
- Next in thread: sunit: "Re: AcquireCredentialsHandle returns SEC_E_UNKNOWN_CREDENTIALS"
- Reply: sunit: "Re: AcquireCredentialsHandle returns SEC_E_UNKNOWN_CREDENTIALS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|