Solved

Command Line installation of Certificates

Posted on 2004-09-21
4
329 Views
Last Modified: 2013-12-04
Hi

I am working on an application that will need to be able to register .pfx certificate files into the windows certificate manager.

I have tryed various approaches to do that :

* programatically using win32's CryptoAPI  (Tryed using PFXImportCertStore)
* command line using CertMgr.exe  (maybe I was failing to get the parameters right)

And without success...

I can't do the registration with the "Windows Certificate Import Wizard" since I need the import to happen automatically upon reception of a new .pfx file and it's password string.

I would like to hear any ideas or ways to handle this issue.

Thanks
0
Comment
Question by:variant7
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 5

Accepted Solution

by:
kemp_a earned 500 total points
ID: 12187041
Hi,

Your best bet is to try and get the correct parameters for CertMgr.

I used this syntax to add one of my certificates previously:
 certmgr /add /c /n sts01 /s my sts01.cer
 CertMgr Succeeded

Seemed to work OK.

Regards
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
SHARE your personal details only on a NEED to basis. Take CHARGE and SECURE your IDENTITY. How do I then PROTECT myself and stay in charge of my own Personal details (and) - MY own WAY...
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question