Re: How to Import Certificate file into windows certificate store
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS Server Security > Re: How to Import Certificate file into windows certificate store




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: How to Import Certificate file into windows certificate store  
adam


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-02-04 11:45 PM

I had a similar problem only we where using an ASP.NET web service to
call the certificates.  We found that once the certs where installed
they would work fine if you envoked them using an Administrator, Domain
Admin, or Domain user account.

After some time we decided to work in the same way you did by using a
COM + object and had the same problem as you.  We finally found that if
you allow in our case the ASP.NET service account to have read access to
the C:\Documents and Settings\All Users\Application
Data\Microsoft\Crypto\RSA directory solved our problem.  Although in
your case i guess it would need read / write / modify.

I hope this helps.

Helena Cai wrote:

> Hi,
>
> Due to the nature of our system,  we need to dynamically import certificat
e
> files into windows certificates store and access the certificate store fro
m
> ASP pages,  these ASP pages call a VB dll component, which uses the CAPICO
M
> component to manipulate windows certficate store.
>
> Because ASP is running under IWAM account,  we got "Access is denied" erro
r
> 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
> again.
>
> I did some search in the newsgroups, somebody suggested to log on under IW
AM
> 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 wit
h
> solution...
>
> Can anybody give me some sugguestion or let me know if I am on the right
> track?
>
> Thanks in advance.
> helena
>
>
>
>
>
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:00 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register