Re: adding root certificate
From: Eduard Koller [MSFT] (eduardk_at_online.microsoft.com)
Date: 05/23/05
- Next message: Hugh Kelley: "Modifying nTSecurityDescriptor via MIIS"
- Previous message: Hao Zhuang [MSFT]: "Re: WinLogon adds default certificate to "MY" store. Why, and how to disable?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 23 May 2005 13:33:01 -0700
This is by design, from security reasons.
The user should be aware that a piece of code is installing a cert in the
trusted root store.
If you really, absolutelly need to do this without user intervention, you
can consider using a windows hook to intercept the dialog box, or do an
FindWindow to locate it, then programatically click on the "Yes" button
-- Eduard Koller[MS] This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm "Rafa Llarena" <rafallg@dif.um.es> wrote in message news:e3PZIMsOFHA.3380@TK2MSFTNGP15.phx.gbl... > Hi , > > I'm trying to programmatically install root certificate to trusted root > store. But every time upon installation I'm getting a message box asking > for confirmation of the action. Is there a way to disable that message > box? Either programmatically or by setting up cert store somehow. I need > this working without any user's intervention > I'm using CAPICOM 2.1.0.1 and Visual C# > Thnks a lot > > Rafa Llarena >
- Next message: Hugh Kelley: "Modifying nTSecurityDescriptor via MIIS"
- Previous message: Hao Zhuang [MSFT]: "Re: WinLogon adds default certificate to "MY" store. Why, and how to disable?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]