Solved

Command Line installation of Certificates

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

705 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

22 Experts available now in Live!

Get 1:1 Help Now