Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component


Index of Chilkat Blog Posts

February 6, 2008

AcquireCredentialsHandle: SEC_E_NO_CREDENTIALS when using Client-Side SSL Certificate

The Chilkat components support SSL with all protocols: FTP, POP3, SMTP, IMAP, HTTP, etc. Each component has a SetSslClientCert method that allows for a client-side certificate to be used when establishing an SSL connection. A certificate that is to be used as a client cert for an SSL connection must also have a private key installed on the computer. If it does not, you’ll see this in the LastErrorText:

...
    SEC_E_NO_CREDENTIALS
    Error returned by AcquireCredentialsHandle
    Error creating credentials
...

These examples show how to check a certificate for a private key:

ASP: Check Certificate for Private Key
C#: Check Certificate for Private Key
C++: Check Certificate for Private Key
Delphi: Check Certificate for Private Key
Visual FoxPro: Check Certificate for Private Key
Java: Check Certificate for Private Key
Perl: Check Certificate for Private Key
Python: Check Certificate for Private Key
Ruby: Check Certificate for Private Key
VB.NET: Check Certificate for Private Key
Visual Basic: Check Certificate for Private Key
VBScript: Check Certificate for Private Key


Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to support@chilkatsoft.com

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.