<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:1135490641;
        mso-list-type:hybrid;
        mso-list-template-ids:837045636 269025295 269025305 269025307 269025295 269025305 269025307 269025295 269025305 269025307;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level4
        {mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level7
        {mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-CA link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='color:#1F497D'>How about the &#8220;1:RSA
(none)(none)&#8221; line?&nbsp; What does the (none)(none) mean?<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Could someone post the output
from their system for comparison?<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Thanks<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> users-bounces@openswan.org
[mailto:users-bounces@openswan.org] <b>On Behalf Of </b>OCG Technical Support<br>
<b>Sent:</b> October 14, 2008 1:50 AM<br>
<b>To:</b> users@openswan.org<br>
<b>Subject:</b> [Openswan Users] My private keys not showing up with --listall<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I&#8217;m new to IPsec so forgive me if I&#8217;m missing
something obvious here!&nbsp; Here&#8217;s what I&#8217;ve done:<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo2'><![if !supportLists]><span
style='mso-list:Ignore'>1.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>I create a private key for my ipsec gateway with the
command:<o:p></o:p></p>

<p class=MsoListParagraph>openssl req -new -keyout firewall-private-key.pem -out
firewall-request.der<o:p></o:p></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo2'><![if !supportLists]><span
style='mso-list:Ignore'>2.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>I copied the &#8220;firewall-private-key.pem&#8221; to
/etc/ipsec.d/private<o:p></o:p></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo2'><![if !supportLists]><span
style='mso-list:Ignore'>3.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>I use my Windows 2003 CA to generate a &#8220;web
server&#8221; certificate, pasting in the key from the stop above<o:p></o:p></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo2'><![if !supportLists]><span
style='mso-list:Ignore'>4.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>I got the generated certificates in DER and Base64
format, and copied them into my gateway&#8217;s /etc/ipsec.d/certs folder as
&#8220;firewall-cert.der&#8221;<o:p></o:p></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo2'><![if !supportLists]><span
style='mso-list:Ignore'>5.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>I edited my /etc/ipsec.secrets to include this line<o:p></o:p></p>

<p class=MsoListParagraph>: RSA firewall-private-key.pem &quot;password<o:p></o:p></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo2'><![if !supportLists]><span
style='mso-list:Ignore'>6.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>I restarted ipsec, and there are no errors<o:p></o:p></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo2'><![if !supportLists]><span
style='mso-list:Ignore'>7.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>I ran &#8220;ipsec auto &#8211;listall&#8221; and
here&#8217;s what I see:<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>000&nbsp; <o:p></o:p></p>

<p class=MsoNormal>000 List of Public Keys:<o:p></o:p></p>

<p class=MsoNormal>000&nbsp; <o:p></o:p></p>

<p class=MsoNormal>000 List of Pre-shared secrets (from /etc/ipsec.secrets)<o:p></o:p></p>

<p class=MsoNormal>000&nbsp;&nbsp;&nbsp;&nbsp; 1: RSA (none) (none)<o:p></o:p></p>

<p class=MsoNormal>000&nbsp;&nbsp;&nbsp;&nbsp; 1: RSA (none) (none)<o:p></o:p></p>

<p class=MsoNormal>000&nbsp; <o:p></o:p></p>

<p class=MsoNormal>000 List of X.509 CA Certificates:<o:p></o:p></p>

<p class=MsoNormal>000&nbsp; <o:p></o:p></p>

<p class=MsoNormal>000 Oct 14 01:16:41 2008, count: 1<o:p></o:p></p>

<p class=MsoNormal>000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; subject:
'DC=ca, DC=ocg, CN=OCG Certificate Authority'<o:p></o:p></p>

<p class=MsoNormal>000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; issuer:&nbsp;
'DC=ca, DC=ocg, CN=OCG Certificate Authority'<o:p></o:p></p>

<p class=MsoNormal>000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
serial:&nbsp;&nbsp; 1b:47:28:ee:e3:c6:a3:b9:4d:b7:a8:38:c4:67:27:90<o:p></o:p></p>

<p class=MsoNormal>000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
pubkey:&nbsp;&nbsp; 2048 RSA Key AwEAAcBVF<o:p></o:p></p>

<p class=MsoNormal>000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; validity: not
before Sep 28 23:06:37 2006 ok<o:p></o:p></p>

<p class=MsoNormal>000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
not after&nbsp; Sep 28 23:14:33 2031 ok<o:p></o:p></p>

<p class=MsoNormal>000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; subjkey:&nbsp;
0f:b6:1e:93:77:70:64:c1:77:32:f3:24:47:49:15:3f:58:ea:20:95<o:p></o:p></p>

<p class=MsoListParagraph><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Why is my private key not showing up?&nbsp; My CA key shows
up....<o:p></o:p></p>

<p class=MsoNormal>Should my public key show up in the list?<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I&#8217;m lost...<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Thanks,<o:p></o:p></p>

<p class=MsoNormal>Michelle<o:p></o:p></p>

<p class=MsoListParagraph><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>