News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Security Library Forum
 
PEM private key loading  
by Tristan [tristanb at mbase dot com dot au]
posted on 2005/03/04

Whenever I try to load a private key from a PEM file I get a dialog box asking the user whether he wants to give access to his private key or not. This seems to be created by the call to the crypt32.dll layer CryptAcquireCertificatePrivateKey method.

Does anybody know how to turn off this dialog; I would like it just to be accepted.

This problem also seems to cause errors when I try to run my program as a service. In this case no dialog appears and the private key is not obtainable; causing my service to fail.

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.