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

  

  

  Chilkat ActiveX Components

  Chilkat .NET Components

  Chilkat C++ Libraries

  

  

  

  

 

FAQ

PKI Private Key Warning Dialog

*This information is very important for ASP users of Chilkat Crypt and Chilkat Mail.

Chilkat components incorporating PKI features are implemented using CryptoAPI, which can display a warning dialog as shown below in certain circumstances. The information on this page will tell you how to avoid this dialog.

  • More information regarding
    this topic can be found HERE.

The dialog above is displayed when an attempt is made to access a private key from a certificate stored in the registry under the HKEY_CURRENT_USER root store. This can happen when creating a digital signature or decrypting data. Attempting to do this in ASP will hang the web server. It will not happen when verifying a digital signature, or encrypting data, since these operations do not involve the use of private keys.

The Solution

The dialog is not displayed when accessing private keys from certificate stores that are file-based, or registry-based and under the HKEY_LOCAL_MACHINE section of the registry. You can copy the certificates you need for signing and decrypting to a certificate store in HKEY_LOCAL_MACHINE. The procedure for doing this is described below.

Bring up the Certificates Management Snap-In and locate the certificate to be moved in the Current User/Personal/Certificates folder. Left-click on the certificate and drag-and-drop it onto the Local Computer/Personal/Certificates folder. That's it, your certificate now exists in both certificate stores. You can delete the certificate from the original Current User store by right-clicking on it and selecting Delete.

 

 



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

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