<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">

<html>

<!--(==============================================================)-->
<!--(Document created with RoboEditor. )============================-->
<!--(==============================================================)-->

<head>

<title>Adding a Private Key</title>

<!--(Meta)==========================================================-->

<meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">
<meta name=generator-major-version content=0.1>
<meta name=generator-minor-version content=1>
<meta name=filetype content=kadov>
<meta name=filetype-version content=1>
<meta name=page-count content=1>
<meta name=layout-height content=612>
<meta name=layout-width content=745>
<meta name=date content="09 19, 2001 3:46:04 PM">


<!--(Links)=========================================================-->

<link rel="StyleSheet" href="JXhelp.css">


<!--(Generated ActiveX Object Tags)=================================-->
<!--(WARNING: DO NOT EDIT OR DELETE THIS SECTION!)==================-->
<!--begin!kadov{{===================================================-->
<!--}}end!kadov=====================================================-->
<!--(==============================================================)-->

</head>

<!--(Body)==========================================================-->


<body>

<h1>Adding a Private Key</h1>

<p>If you want to use client authenticated 
<OBJECT classid="java:com.sun.java.help.impl.JHSecondaryViewer"  id="0" >
 <param name="content" value="Adding_a_Private_Key_text0_popup_topic.htm">
 <param name="viewerActivator" value="javax.help.LinkLabel">
 <param name="viewerSize" value="400,270">
 <param name="viewerStyle" value="javax.help.Popup">
 <param name="text" value="Secure Sockets Layer">
</OBJECT> (SSL), <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->you 
 must add the client's trusted public certificate (or the public certificate 
 of the client's certificate authority), and the corresponding private 
 key, to the <span style="font-style: italic;"><I>clientcerts </I></span>keystore 
 file. See <a href="Adding_a_Certificate.htm">Adding a Certificate</a> 
 for more information on adding certificates.</p>

<p>&nbsp;</p>

<p>Private keys can only be imported as a special type of password-protected 
 file called <span style="font-style: italic;"><I>pkcs8</I></span>. The password 
 of the private key must be the same as that protecting the keystore.</p>

<p>&nbsp;</p>

<p>To add a private key:</p>

<p>&nbsp;</p>

<p>1. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->From 
 the Security Menu, choose Client Certificates.</p>

<p>&nbsp;</p>

<p>2. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->Select 
 the client certificate to which you want to add the private key, and then 
 click the Set Private Key button.</p>

<p>&nbsp;</p>

<p>3. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->Select 
 the private key that you want to add to the client certificate, and then 
 click the Open button.</p>

<p>&nbsp;</p>

<p>4. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->Enter 
 the keystore password, and then click OK.</p>

<p>&nbsp;</p>

<p>5. <!--kadov_tag{{<spaces>}}-->&nbsp;<!--kadov_tag{{</spaces>}}-->Click 
 OK to close the dialog.</p>

<p>&nbsp;</p>

<h4>Related Topics</h4>

<p><a href="Adding_a_Certificate.htm">Adding a Certificate</a></p>

<p><a href="Deleting_a_Certificate.htm">Deleting a Certificate</a></p>

<p><a href="Exporting_a_Private_Key.htm">Exporting a Private Key</a></p>

<p><a href="Managing_Certificates.htm">Managing Certificates</a></p>

<p><a href="Setting_a_Keystore_Password.htm">Setting a Keystore Password</a></p>

<p><a href="Viewing_a_Certificate.htm">Viewing a Certificate</a> </p>

<p>
<hr>
<font size=-2>
&copy; 2002 Computer Associates International, Inc. (CA)
<br>All trademarks, trade names, service marks, and logos referenced herein
belong to their respective companies.
</font>
</body>

</html>
