Exporting Certificates using Script



Hi
I need two Scripts for handling certificates and related Prk.

First, a batch file or script for exporting certificates & Prk and then
removing Certificate & Prk from the machine.
Assume that this script has four parameters:
1) Certificate OID or SerialNumber
2) Passwork for protecting PFX file
3) Whether PrK delete after successful export (for example a Logical
Boolean Variable)
4) A name for output PFX File

Second, reverse function for importing certificate & installing it in
appropriate Store.
Assume that this script has four parameters:
1) PFX File Name
2) Password
3) Whether PrK should be marked Exportable or not.(for example a
Logical Boolean Variable)
4) Store that it must be placed.

I would very much appreciate help on this. Thanks!


.



Relevant Pages

  • Re: Installing Certificates on XP clients
    ... be done via script - you could make a logon script install it I suppose but ... You can also try using CAPICOM. ... script to import the certificate with this utility, ... Microsoft Certified Trainer ...
    (microsoft.public.windows.server.general)
  • Re: how to bypass a known-bad SSL certificate
    ... Is this script just for running on one machine that you control? ... might be able to just disable certificate checking in IE Advanced Options. ... > this warning for a specific certificate and/or webserver? ... Set objHTTP = WScript.CreateObject ...
    (microsoft.public.scripting.vbscript)
  • Re: how to bypass a known-bad SSL certificate
    ... Is this script just for running on one machine that you control? ... might be able to just disable certificate checking in IE Advanced Options. ... > this warning for a specific certificate and/or webserver? ... Set objHTTP = WScript.CreateObject ...
    (microsoft.public.scripting.wsh)
  • RE: How to enable certificate purpose programmatically?
    ... ' This script removes sets the "meta eku" on a particular certificate. ... Set Store = CreateObject ... Set ExtendedProperty = CreateObject ...
    (microsoft.public.platformsdk.security)
  • Re: SSL/TLS - am I doing it right?
    ... Signing a certificate request is easier: ... Why do people feel the need to wrap that up in some Perl script? ... you were using OpenSSL or M2Crypto in a way that takes care of that. ... The problem with the world is stupidity. ...
    (comp.lang.python)