Windows CA - Public Key export
Hi I'm looking for a way to export public keystofilefor all users in the domain. I searched through VBScript and Powershell references, but I was unable to find any way to access Windows Certficate Authority certificate storeusing script.So I would like to ask if it is possble to access above mentioned certificate store using script ?
November 12th, 2008 1:50pm

Hi, Based on my research, we can write a script based on the Platform SDK Redistributable: CAPICOM to export all users public key and certificates in the domain. To use this SDK, please download it from the following link: Platform SDK Redistributable: CAPICOM http://www.microsoft.com/downloads/details.aspx?FamilyId=860EE43A-A843-462F-ABB5-FF88EA5896F6 Find and copy capicom.dll to %Windir%\System32\ and then run regsvr32 capicom.dll to register it. The ICertificate2 certificate.save function with the CAPICOM_CERTIFICATE_INCLUDE_WHOLE_CHAIN includeOption can be used to save a certificate to a file. For more information, please refer to the following MSDN link: http://msdn.microsoft.com/en-us/library/aa376537(VS.85).aspx If you have any difficulties when you customizing the scripts, I suggest that you initial a new post in the MSDN form to get further support there since here is forum for Windows Server administering and managing topics. For your convenience, I have list the link as followed. MSDN Forum http://forums.microsoft.com/MSDN/default.aspx?SiteID=1 Thanks
Free Windows Admin Tool Kit Click here and download it now
November 13th, 2008 12:25pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics