From owner-freebsd-security@FreeBSD.ORG Thu Nov 15 13:04:37 2007 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19B7316A417 for ; Thu, 15 Nov 2007 13:04:37 +0000 (UTC) (envelope-from bj@0x20.net) Received: from mail.0x20.net (mail.ipv6.0x20.net [IPv6:2001:aa8:fffb::3]) by mx1.freebsd.org (Postfix) with ESMTP id AD58413C4AC for ; Thu, 15 Nov 2007 13:04:36 +0000 (UTC) (envelope-from bj@0x20.net) Received: by mail.0x20.net (Postfix, from userid 1001) id EA7DD3A582; Thu, 15 Nov 2007 14:04:34 +0100 (CET) Date: Thu, 15 Nov 2007 14:04:34 +0100 From: Bjoern Engels To: john decot Message-ID: <20071115130434.GA78982@e.0x20.net> References: <199790.94058.qm@web55411.mail.re4.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <199790.94058.qm@web55411.mail.re4.yahoo.com> X-PGP-KeyID: FB601479 User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-security@freebsd.org Subject: Re: IPSEC help X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2007 13:04:37 -0000 Hi John, On Thu, Nov 15, 2007 at 03:14:04AM -0800, john decot wrote: > I am new to ipsec and trying to connect my bsd server with win 2000. I have succeeded to tunnel using pre-shared key. But regarding certificate , I failed to get success. > > The following are configuration : > > racoon.conf [...] > --------------------------END------------------------------------------------------------------ > certificate are created in bsd with following commands: Log file contents would be helpful. Anyway - I had these statements in my config file a while ago, when I used racoon with certificates: remote anonymous { [...] ca_type x509 "cacert.pem"; certificate_type x509 "foo.net.pem" "foo.key-nopass"; peers_certfile x509 "bar.pem"; send_cert on; my_identifier asn1dn; peers_identifier asn1dn "C=foo, ST=foo, L=foo, O=foo, CN=bar/emailAddress=foo"; verify_identifier on; [...] } You'll have to fill in the correct values for peers_identifier asn1dn, of course. HTH -- Viele Gruesse // Best regards Bjoern Engels :wq!