SEL_E_SECPKG_NOT_FOUND error from AcquireCredentialsHandle ()
I am getting the above error when trying to run code from the Microsoft Secure SOAP sample http://msdn.microsoft.com/en-us/library/s2ya483s.aspx
The call from M'soft code seems to be correct:
Status = g_Sample_SecurityInit._SecurityFunc.AcquireCredentialsHandleA(
NULL, // Name of principal
UNISP_NAME_A, // Name of package
SECPKG_CRED_OUTBOUND, // Flags indicating use
NULL, // Pointer to logon ID
&m_SchannelCred, // Package specific data
NULL, // Pointer to GetKey() func
NULL, // Value to pass to GetKey()
&m_hClientCreds, // (out) Cred Handle
&tsExpiry); // (out) Lifetime (optional)
Any ideas on how to proceed? FWIW, this is part of the SSL client, but I don't need client side authentication.
Roni
+1
source to share