Linker IT Software
Google
Web www.oraxcel.com
menubar-top-links menubar-top-rechts
Home Help Search Login
Welcome, Guest. Please Login.
SQL*XL: Database to Excel bridge litLIB: Excel power functions pack ExcelLock: Locking and securing your valuable Excel spreadsheets encOffice: Protect your Excel file easy and safe encOffice: Protect your Excel file easy and safe
Pages: 1
Using a pvk and cer file sign code (Read 16936 times)
Gerrit-Jan Linker
YaBB Administrator
*****




Posts: 75
Using a pvk and cer file sign code
17.02.10 at 15:30:27
 
Using a pvk and cer file sign code
 
In order to convert the Microsoft® Authenticode® (Multi-Purpose) Certificate to a .pfx file, your certificate needs to be installed in the Windows registry. You will need to import the .pvk and .spc file into your registry using a tool called pvkimprt.
 
To download pvkimprt.exe directly from Microsoft, see the following url:
 
http://www.microsoft.com/downloads/details.aspx?FamilyID=F9992C94-B129-46BC-B240 -414BDFF679A7&displaylang=EN
 
Pvkimprt.exe is a self extracting file, with the same name as the tool you will use to import the files. Make sure you install the file before running the pvkimprt command.
 
To import the files using pvkimprt.exe you will need to go into the command line, then :
 
Type the following command in the directory where you installed pvkimprt :
c:\pvkimprt -import cert.spc key.pvk
 
Note, you must reference the full path for your .spc and .pvk files.
 
You will then be prompted for the Private Key password you specified when you generated the Private Key file.
 
Once the keys have been imported into the registry you will need to export the private key and certificate attached together as a .pfx file using the pvkimprt tool.
 
To export the keys as a .pfx file using pvkimprt.exe:
 
c:\pvkimprt -pfx cert.spc key.pvk
 
It will bring up the export wizard, in the first window tick 'Yes' to export the private key, in the second window untick the option 'Enable strong protection..' and tick the option 'Include all certificates in the certification path if possible', then click next, in the third window specify a private key password (please do not forget it), in the fourth window click 'browse' and save the file to your desktop, click next and finish.  
Back to top
 
 

Gerrit-Jan Linker
Linker IT Software
Email WWW Gerrit-Jan Linker   IP Logged
Gerrit-Jan Linker
YaBB Administrator
*****




Posts: 75
Re: Using a pvk and cer file sign code
Reply #1 - 17.02.10 at 15:36:02
 
Note that .spc and .cer files are the same thing so in the procedure above a .cer file can be used where a .spc file is written.
Back to top
 
 

Gerrit-Jan Linker
Linker IT Software
Email WWW Gerrit-Jan Linker   IP Logged
Gerrit-Jan Linker
YaBB Administrator
*****




Posts: 75
Re: Using a pvk and cer file sign code
Reply #2 - 17.02.10 at 16:05:19
 
Using a pfx file
 
After exporting the digital certificate a .pfx file is created. This file can be imported on other machines just by double clicking it. It asks for the password. After supplying the password the installation is complete. Code can be signed on that machine using the certificate.
Back to top
 
 

Gerrit-Jan Linker
Linker IT Software
Email WWW Gerrit-Jan Linker   IP Logged
Pages: 1