Re: AcquireCredentialsHandle returns SEC_E_UNKNOWN_CREDENTIALS

From: John Banes (jabanes_at_comcast.remove.net)
Date: 10/29/05


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



Relevant Pages

  • RE: libiconv.la
    ... Subject: sshfs/nfs cause server lockup ... atapci0: port ... cleaning up the object tree ... *** Error code 1 ...
    (freebsd-stable)
  • Re: Deseperately Need Your HELP!
    ... server and all exchnage services are fine. ... The error *sounds* like it could be an issue with the Computer Account. ... Error code 0XC0070574: Logon Failure: The target ... name is incorrect. ...
    (microsoft.public.exchange.admin)
  • Re: Sharepoint Portal Server issue post-SPS SP2
    ... FrondEnd Server + SQL Server ... Context: http://intranet/ Application, Portal_Content Catalog ... at Microsoft.SharePoint.Portal.Data.a.c(SqlCommand, Boolean) ...
    (microsoft.public.sharepoint.portalserver)
  • Re: cannot uninstall Exchange 2003 from a DC
    ... I recall there is an article said something wrong when you tried to remove Exchange server, you may have to re-install DC. ... Error code 0XC0070035: The network path was not found. ... HrPromptForCDIfNecessary: encountered error 0XC0070035, sleeping ...
    (microsoft.public.exchange.setup)
  • Re: Deseperately Need Your HELP!
    ... I just checked the I.M server and verified it ran domainprep ... Can I run the domainprep for exchange again without any issue? ... If your account ... Error code 0XC0070574: Logon Failure: The ...
    (microsoft.public.exchange.admin)