Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


December 05, 2005

How can I export and import my private keys from one machine to another?

RSS
Subscribe to Windows IT Pro | See More Encryption Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

A. By default, private keys are stored in the requesting user's or computer's certificate store. If you use multiple machines, you might want your private key on multiple machines. To do so, perform these steps:

  1. Start the Microsoft Management Console (MMC) (Start, Run, MMC).
  2. From the File menu, select Add/Remove Snap-in.
  3. Select the Standalone tab and Click Add.
  4. Select Certificates and click Add. Click Close.
  5. Click OK to the main Add/Remove Snap-in dialog box.
  6. Select Certificates, Current User, Personal, Certificates.
  7. In the right pane, right-click the certificate you want to export (e.g., Exchange User) and select All Tasks, Export, from the context menu.
  8. Click Next to the Export Wizard welcome dialog box.
  9. Select "Yes, export the private key" and click Next.
  10. Leave the default export options and click Next.
  11. Enter a password for the export and click Next.
  12. Enter a location and name for the exported key and click Next.
  13. Click Finish in the summary dialog box.
  14. Click OK to the export confirmation dialog box.

Copy the export key file to another machine and perform the following steps to import the key:

  1. Start the MMC console.
  2. From the File menu, select the Add/Remove snap-in.
  3. Select the Standalone tab and click Add.
  4. Select Certificates and click Add, then click Close.
  5. Click OK to the main Add/Remove Snap-in dialog box.
  6. Select Certificates, Current User, Personal, Certificates.
  7. Right-click Certificates and select Import from the context menu.
  8. Click Next at the Import Wizard welcome screen.
  9. Enter the name of the file to import, as Figure 18 shows, and click Next.
  10. Enter the password for the export file and, optionally, select the check box to enable the key to be exportable again in the future. Click Next.
  11. Select the option to store the certificate in the default Personal store and click Next.
  12. Click Finish to complete the import.
  13. Click OK to the import confirmation message. After the import is complete, encrypted messages will be readable on the additional machine.

End of Article



Reader Comments
i copied files from
*:\Documents and Settings\*user*\Application Data\Microsoft\SystemCertificates\Request\Certificates
and keys to other pc/user and that actually "works" when is certmgr.msc in mmc opened, so certificates was "copied" without exporting etc. But i didnt test copied certs. So iam seeking for a way to "copy" certs without export/import ?

KPAJNHA February 10, 2007 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Microsoft: Save Money ... By Paying for Software

Microsoft this week adopted an interesting tactic in its long-running battle with open source software: Businesses looking to save money over the long haul should simply pay for software instead of moving to free, open source solutions. The rationale? ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

Microsoft Delivers Service Pack 2 Beta 2 for Vista, Server 2008

Microsoft on Tuesday announced the availability of the Beta 2 version of Service Pack 2 (SP2) for Windows Vista and Windows Server 2008. Since both operating systems were developed from the same code base, they have a common servicing structure and thus ...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events How IE7 & The New Extended Validation SSL Certificates Impact Your Site

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing