Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 56288 invoked from network); 26 Sep 2005 23:11:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Sep 2005 23:11:06 -0000 Received: (qmail 4736 invoked by uid 500); 26 Sep 2005 23:11:06 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 4667 invoked by uid 500); 26 Sep 2005 23:11:05 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 4630 invoked by uid 99); 26 Sep 2005 23:11:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2005 16:11:04 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [68.142.200.73] (HELO web30010.mail.mud.yahoo.com) (68.142.200.73) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 26 Sep 2005 16:11:10 -0700 Received: (qmail 88771 invoked by uid 60001); 26 Sep 2005 23:10:41 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.mx; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=pzQEMJu1x8C/d9cMPzBoJIFReebZDj6Qy+D7EhW+eV9pZwMsAN4Sg7prJbEo1+saG0ZUNADp/LGzG63nEISwSKM8o+qPlKlr9erqKB2Wccsybg8I1R5N7EWT+20qG2s/04NT1bXFxGTLTcMDOZb8P8cWvhHWO8BNVHdXAKLvsyc= ; Message-ID: <20050926231041.88769.qmail@web30010.mail.mud.yahoo.com> Received: from [200.71.97.2] by web30010.mail.mud.yahoo.com via HTTP; Mon, 26 Sep 2005 18:10:41 CDT Date: Mon, 26 Sep 2005 18:10:41 -0500 (CDT) From: Emir Rodriguez Subject: Re: [mina] Problems with the SSLFilter To: Apache Directory Developers List In-Reply-To: <20050926223442.62210.qmail@web30001.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I make a mistake, because i dont set the property setUseClientMode (true) in the SSLFilter. I'm sorry to make loss your time with this question. --- Emir Rodriguez escribi�: > Hello, > I'm new using the SSL with Mina, I'm trying to make > a > simple program that can connect to the Echo server > that comes with the project, but it never can write > the message over the network. > - I enable the flag in the Main class of the Echo > Server example. > - I'm using the 0.9 SNAPSHOT version of MINA. > - And this is the simple code that i'm using to > connect to the server. > > public static void main(String[] args) throws > Exception { > // Create TCP/IP connector. > SocketConnector connector = new > SocketConnector(); > try { > > connector.getFilterChain().addLast("sslFilterClient", > new > SSLFilter(BogusSSLContextFactory.getInstance(false))); > > ConnectFuture future = connector.connect(new > InetSocketAddress("10.0.50.199", 8080), new > NetCatProtocolHandler()); > > future.join(); > if (!future.isConnected()) > System.out.println("No se conecto"); > } catch (IOException e) { > e.printStackTrace(); > } catch (Exception e) { > e.printStackTrace(); > } > } > > I dont know what happend ? i'm making some wrong. > !!! > P > > > > > > ___________________________________________________________ > > Do You Yahoo!? > La mejor conexi�n a Internet y 2GB extra a > tu correo por $100 al mes. http://net.yahoo.com.mx > > ___________________________________________________________ Do You Yahoo!? La mejor conexi�n a Internet y 2GB extra a tu correo por $100 al mes. http://net.yahoo.com.mx