Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > How to Import Certificate file into windows certificate store under IWAM account

Thread Tools

How to Import Certificate file into windows certificate store under IWAM account

Helena Cai
Posts: n/a

Due to the nature of our system, we need to dynamically import certificate
files into windows certificates store and access the certificate store from
ASP pages, these ASP pages call a VB dll component, which uses the CAPICOM
component to manipulate windows certficate store.

Because ASP is running under IWAM account, we got "Access is denied" error
when trying to import the certificate files. We registered the VB
components under COM+ to get around this security problem. However,
recently we are experiencing all sorts of problems with COM+ ( eg.
DLLHost.exe hang with 100% CPU after heavy traffic, ActiveX component can
not be created out of sudden), we decided to move this VB component out of
COM+, which means we are facing the same old "Access is denied" problem

I did some search in the newsgroups, somebody suggested to log on under IWAM
account to enable ASP import certificates, however, because our machine is
the server, this is not a prefered option.

Also, there is a tool provided by microsoft called "winhttpcertcfg.exe",
which can import certficates into the certifcate store and allow IWAM
account to access them. At this stage, I am thinking to use shell command
to call this exe from VB program, however, I am not quite comfortable with

Can anybody give me some sugguestion or let me know if I am on the right

Thanks in advance.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
IWAM account on Windows 2000 =?Utf-8?B?RnJhbmsxMjEz?= ASP .Net 0 12-01-2006 12:48 PM
IWAM account and Act as part of the operating system right Frank1213 ASP .Net Security 1 11-28-2006 07:24 PM
Problem Printing using IWebBrowser2 from IWAM Account on Server 2003 ScottLR ASP .Net Web Controls 12 09-23-2005 02:54 AM
Special Permission for IWAM or IUSR to run VBS File? Colin Steadman ASP General 1 04-07-2004 06:01 AM