Solved

Command Line installation of Certificates

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

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…
No security measures warrant 100% as a "silver bullet". The truth is we also cannot assume anything but a defensive and vigilance posture. Adopt no trust by default and reveal in assumption. Only assume anonymity or invisibility in the reverse. Safe…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

813 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

15 Experts available now in Live!

Get 1:1 Help Now