<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px;">
<div style="font-family: Calibri, sans-serif;">I am trying to configure a connection where I use an FQDN identifier for my local ID, and an e-mail address for the remote identifier.</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">Both use the same domain name.</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">I have set a secret for each in ipsec.secrets, which I would like to be asymmetric.  </div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">What I find, however, is that strongSwan is using "abc123" for both keys.  I can verify this with a Cisco CSR by setting the local and remote pre-shared key to abc123, and the connection comes up.</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">Is there a way to do this?</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">/Ryan</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">ipsec.secrets:</div>
<div>
<div><font face="Courier">@foo.bar.com : PSK 123abc</font></div>
<div><font face="Courier">user1@foo.bar.com : PSK abc123</font></div>
</div>
<div style="font-family: Calibri, sans-serif;"><br>
</div>
<div style="font-family: Calibri, sans-serif;">ipsec.conf:</div>
<div>
<div><font face="Courier">conn test</font></div>
<div><font face="Courier">        auto=add</font></div>
<div><font face="Courier">        authby=secret</font></div>
<div><font face="Courier">        leftid="foo.bar.com"</font></div>
<div><font face="Courier">        right=%any</font></div>
<div><font face="Courier">        rightid="*foo.bar.com"</font></div>
</div>
<div><font face="Courier"><br>
</font></div>
<div><font face="Courier"><br>
</font></div>
<br>
</body>
</html>