Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Command Line installation of Certificates

Posted on 2004-09-21
4
Medium Priority
?
351 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 2000 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

As I write this article, I am finishing cleanup from the Qakbot virus variant found in the wild on April 18, 2011.  It was a messy beast that had varying levels of infection, speculated as being dependent on how long it resided on the infected syste…
Recently, I read that Microsoft has analysed statistics for their security intelligence report. It revealed: still, the clear majority of windows users do their daily work as administrator. An administrative account is a burden, security-wise. My ar…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

610 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