Solved

Command Line installation of Certificates

Posted on 2004-09-21
4
320 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This is a guide to the following problem (not exclusive but here) on Windows: Users need our support and we supporters often use global administrative accounts to do this. Using these accounts safely is a real challenge. Any admin who takes se…
Article by: btan
The intent is not to repeat what many has know about Ransomware but more to join its dots of what is it, who are the victims, why it exists, when and how we respond on infection. Lastly, sum up in a glance to share such information with more to help…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

895 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now