Re: SPC and PVK creation
From: Michel Gallant (neutron_at_NOSPAMistar.ca)
Date: 01/03/04
- Next message: Rashad Rivera: "MAKE MONEY!!! MAKE THOUSANDS!!!"
- Previous message: Rashad Rivera: "SPC and PVK creation"
- In reply to: Rashad Rivera: "SPC and PVK creation"
- Next in thread: Rashad Rivera: "Re: SPC and PVK creation"
- Reply: Rashad Rivera: "Re: SPC and PVK creation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 3 Jan 2004 16:31:10 -0500
Signcode.exe can use public/private key information from either
(1) local files (spc/pvk) or
(2) cert public keys and associated private keys in CSP keycontainers
You can use signcode.exe knowing only the "CN" part of a certificate
(in the MY store) and it will automatically find the associated private keycontainer.
For details on this, see:
http://msdn.microsoft.com/library/default.asp?url=/workshop/security/authcode/signing.asp
and also sample signing commands at:
http://pages.istar.ca/~neutron/Thawte
The same keycontainer (instead of the .snk file) can be used directly to SN code
(if you know the keycontainer name) using:
[assembly:AssemblyKeyNameAttribute("yourkeycontainername")]
I don't think there is any utility to directly convert a cert with associated
keycontainer into SPC and PVK files (PVK is proprietary privatekey format).
Cheers,
- Mitch Gallant
MVP Security
"Rashad Rivera" <riverarx@state.gov> wrote in message news:00fc01c3d235$6543aee0$a501280a@phx.gbl...
> how do I extract the private key from a .CER to a SPC and
> PVK pair for code signing. I have set up a private CA
> server and can issue PKIs with software signing
> capabilities, but I can not find out how to extact the
> keys into the format needed for CODESIGN.EXE or SN.EXE.
> I tried using the MAKECERT, but that only creates test
> keys and the CERT2SPC only gets me the SPC but no PVK.
> Is there a way to do all of this from a command promt?
>
> Thanks,
>
> Rashad Rivera
- Next message: Rashad Rivera: "MAKE MONEY!!! MAKE THOUSANDS!!!"
- Previous message: Rashad Rivera: "SPC and PVK creation"
- In reply to: Rashad Rivera: "SPC and PVK creation"
- Next in thread: Rashad Rivera: "Re: SPC and PVK creation"
- Reply: Rashad Rivera: "Re: SPC and PVK creation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|