<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 14 (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;}
/* 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;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></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=WordSection1><p class=MsoNormal>The Windows 7 error is “Error 13806: IKE failed to find valid machine certificate”<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Logs below:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>[root@tony1 myCA]# ipsec start --nofork --debug-all<o:p></o:p></p><p class=MsoNormal>Starting strongSwan 4.4.1 IPsec [starter]...<o:p></o:p></p><p class=MsoNormal>| Default route found: iface=eth0, addr=66.199.171.245, nexthop=66.199.171.1<o:p></o:p></p><p class=MsoNormal>| Loading config setup<o:p></o:p></p><p class=MsoNormal>| plutostart=no<o:p></o:p></p><p class=MsoNormal>| Loading conn %default<o:p></o:p></p><p class=MsoNormal>| keyexchange=ikev2<o:p></o:p></p><p class=MsoNormal>| ike=aes256-sha1-modp1024!<o:p></o:p></p><p class=MsoNormal>| esp=aes256-sha1!<o:p></o:p></p><p class=MsoNormal>| dpdaction=clear<o:p></o:p></p><p class=MsoNormal>| dpddelay=300s<o:p></o:p></p><p class=MsoNormal>| rekey=no<o:p></o:p></p><p class=MsoNormal>| Loading conn 'win7'<o:p></o:p></p><p class=MsoNormal>| left=%defaultroute<o:p></o:p></p><p class=MsoNormal>| leftcert=vpnCert.pem<o:p></o:p></p><p class=MsoNormal>| leftsubnet=0.0.0.0/24<o:p></o:p></p><p class=MsoNormal>| leftid=@tony1.ezp.net<o:p></o:p></p><p class=MsoNormal>| right=%any<o:p></o:p></p><p class=MsoNormal>| rightsourceip=10.10.0.0/24<o:p></o:p></p><p class=MsoNormal>| keyexchange=ikev2<o:p></o:p></p><p class=MsoNormal>| auto=add<o:p></o:p></p><p class=MsoNormal>| Found netkey IPsec stack<o:p></o:p></p><p class=MsoNormal>| Attempting to start charon...<o:p></o:p></p><p class=MsoNormal>00[DMN] Starting IKEv2 charon daemon (strongSwan 4.4.1)<o:p></o:p></p><p class=MsoNormal>00[CFG] attr-sql plugin: database URI not set<o:p></o:p></p><p class=MsoNormal>00[LIB] plugin 'attr-sql': failed to load - attr_sql_plugin_create returned NULL<o:p></o:p></p><p class=MsoNormal>00[KNL] listening on interfaces:<o:p></o:p></p><p class=MsoNormal>00[KNL] eth0<o:p></o:p></p><p class=MsoNormal>00[KNL] 66.199.171.245<o:p></o:p></p><p class=MsoNormal>00[KNL] 192.168.100.181<o:p></o:p></p><p class=MsoNormal>00[KNL] fe80::216:3eff:fe05:aa90<o:p></o:p></p><p class=MsoNormal>00[CFG] loading ca certificates from '/usr/local/etc/ipsec.d/cacerts'<o:p></o:p></p><p class=MsoNormal>00[CFG] loaded ca certificate "C=CA, ST=BC, L=Vancouver, O=EZP, CN=tony1.ezp.net" from '/usr/lo cal/etc/ipsec.d/cacerts/ca.pem'<o:p></o:p></p><p class=MsoNormal>00[CFG] loading aa certificates from '/usr/local/etc/ipsec.d/aacerts'<o:p></o:p></p><p class=MsoNormal>00[CFG] loading ocsp signer certificates from '/usr/local/etc/ipsec.d/ocspcerts'<o:p></o:p></p><p class=MsoNormal>00[CFG] loading attribute certificates from '/usr/local/etc/ipsec.d/acerts'<o:p></o:p></p><p class=MsoNormal>00[CFG] loading crls from '/usr/local/etc/ipsec.d/crls'<o:p></o:p></p><p class=MsoNormal>00[CFG] loading secrets from '/usr/local/etc/ipsec.secrets'<o:p></o:p></p><p class=MsoNormal>00[CFG] loaded RSA private key from '/usr/local/etc/ipsec.d/private/aKey.pem'<o:p></o:p></p><p class=MsoNormal>00[CFG] sql plugin: database URI not set<o:p></o:p></p><p class=MsoNormal>00[LIB] plugin 'sql': failed to load - sql_plugin_create returned NULL<o:p></o:p></p><p class=MsoNormal>00[DMN] loaded plugins: aes des blowfish sha1 sha2 md4 md5 random x509 revocation pubkey pkcs1 pg p dnskey pem mysql openssl gcrypt fips-prf xcbc hmac gmp attr resolve kernel-netlink socket-raw f arp stroke updown eap-mschapv2<o:p></o:p></p><p class=MsoNormal>00[JOB] spawning 16 worker threads<o:p></o:p></p><p class=MsoNormal>charon (4770) started after 40 ms<o:p></o:p></p><p class=MsoNormal>14[CFG] received stroke: add connection 'win7'<o:p></o:p></p><p class=MsoNormal>14[CFG] loaded certificate "C=CA, ST=BC, L=Vancouver, O=EZP, CN=tony1.ezp.net" from 'vpnCert.pe m'<o:p></o:p></p><p class=MsoNormal>14[CFG] added configuration 'win7'<o:p></o:p></p><p class=MsoNormal>14[CFG] adding virtual IP address pool 'win7': 10.10.0.0/24<o:p></o:p></p><p class=MsoNormal>15[NET] received packet: from 64.180.3.28[500] to 66.199.171.245[500]<o:p></o:p></p><p class=MsoNormal>15[ENC] parsed IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) ]<o:p></o:p></p><p class=MsoNormal>15[IKE] 64.180.3.28 is initiating an IKE_SA<o:p></o:p></p><p class=MsoNormal>15[IKE] remote host is behind NAT<o:p></o:p></p><p class=MsoNormal>15[IKE] sending cert request for "C=CA, ST=BC, L=Vancouver, O=EZP, CN=tony1.ezp.net"<o:p></o:p></p><p class=MsoNormal>15[ENC] generating IKE_SA_INIT response 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) CERTREQ N(MULT_AUT H) ]<o:p></o:p></p><p class=MsoNormal>15[NET] sending packet: from 66.199.171.245[500] to 64.180.3.28[500]<o:p></o:p></p><p class=MsoNormal>16[JOB] deleting half open IKE_SA after timeout<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>That’s strongswan ipsec daemon starting and one windows 7 client connection (that failed)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m following the strongstrong wiki article for setting up windows 7 clients for machine certificates: <a href="http://wiki.strongswan.org/projects/strongswan/wiki/Win7MultipleConfig">http://wiki.strongswan.org/projects/strongswan/wiki/Win7MultipleConfig</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>And I’ve been following this blog for tips on the correct way to generate the certificates: <a href="http://www.carbonwind.net/blog/post/VPN-Reconnect-in-Windows-7-RC-redux.aspx">http://www.carbonwind.net/blog/post/VPN-Reconnect-in-Windows-7-RC-redux.aspx</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’ve tried a ton of different combinations, maybe I’ve not compiled something to get this working properly..<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Here’s the ./configure line I used:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>./configure --enable-md4 --enable-md5 --enable-eap-mschapv2 --enable-nat-transport --enable-sql --enable-mysql --enable-mediation --enable-openssl --enable-gcrypt --enable-farp --enable-blowfish<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Please help!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>-- <o:p></o:p></p><p class=MsoNormal>Anthony Moon<o:p></o:p></p><p class=MsoNormal>EZProvider Networks, Inc.<o:p></o:p></p><p class=MsoNormal>http://ezp.net<o:p></o:p></p><p class=MsoNormal>1.888.397.7853 x203<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>