From owner-freebsd-java@FreeBSD.ORG Tue Dec 9 05:59:31 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EEDA16A4CE for ; Tue, 9 Dec 2003 05:59:31 -0800 (PST) Received: from mail.remarkablehost.com (ns1.remarkablehost.com [208.186.168.9]) by mx1.FreeBSD.org (Postfix) with SMTP id BC49743D2F for ; Tue, 9 Dec 2003 05:59:29 -0800 (PST) (envelope-from foo@bar.org) Received: (qmail 30104 invoked by uid 110); 9 Dec 2003 13:58:42 -0000 Received: from unknown (HELO ash) (200.82.85.47) by ns1.remarkablehost.com with SMTP; 9 Dec 2003 13:58:42 -0000 Message-ID: <003d01c3be5c$afed2990$0200a8c0@veggy.org> From: "Nicolas Gieczewski" To: Date: Tue, 9 Dec 2003 10:59:04 -0300 Organization: Nix Software Solutions [www.nixsoftware.com] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0039_01C3BE43.75A7BFC0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Subject: Empty cacerts file installed by jdk-1.4.2p5 port caused sun.security.validator.ValidatorException: No trusted certificate found X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2003 13:59:31 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0039_01C3BE43.75A7BFC0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hello, I was successfully running an SSL-enabled application on the Linux = version of JDK 1.4 on FreeBSD 4.8-STABLE, and decided to go native. When = I built the native JDK and ran my app on it, I got the following = exception when it attempted to open an SSL connection to a host the = Linux JDK had never had trouble connecting to: sun.security.validator.ValidatorException: No trusted certificate found After some research, I tracked down the problem to the = jre/lib/security/cacerts file installed by the jdk-1.4.2p5 port: it was = only 32 bytes in size and contained no certificates. I copied the = cacerts file from the Linux JDK's directory and that fixed the problem. Is this a known issue? Or am I the only human being in the world to ever = have this problem? I have attached the cacerts file installed by the = port. Please reply to the list only, for my supplied address is fake. Thanks, Nick --- MSN2Go - Web-based MSN Messenger client http://www.msn2go.com/ ------=_NextPart_000_0039_01C3BE43.75A7BFC0 Content-Type: application/octet-stream; name="cacerts.bak" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="cacerts.bak" /u3+7QAAAAIAAAAA4mhuRftD36TZkt1BzrayHGMw15I= ------=_NextPart_000_0039_01C3BE43.75A7BFC0--