Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D2719200AF7 for ; Tue, 14 Jun 2016 11:28:29 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D10721602C5; Tue, 14 Jun 2016 09:28:29 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 25C58160A47 for ; Tue, 14 Jun 2016 11:28:28 +0200 (CEST) Received: (qmail 79848 invoked by uid 500); 14 Jun 2016 09:28:28 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 79826 invoked by uid 99); 14 Jun 2016 09:28:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jun 2016 09:28:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1457C2C1F71 for ; Tue, 14 Jun 2016 09:28:28 +0000 (UTC) Date: Tue, 14 Jun 2016 09:28:28 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-4502) REGRESSION: using OpenJDK on CentOS 7 causes bin/client to fail with "Unable to negotiate key exchange for kex algorithms" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 14 Jun 2016 09:28:30 -0000 [ https://issues.apache.org/jira/browse/KARAF-4502?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1532= 9181#comment-15329181 ]=20 ASF subversion and git services commented on KARAF-4502: -------------------------------------------------------- Commit 78f539e970eb6775551d491acc67be775013a2cb in karaf's branch refs/head= s/karaf-4.0.x from [~gnt] [ https://git-wip-us.apache.org/repos/asf?p=3Dkaraf.git;h=3D78f539e ] [KARAF-4062][KARAF-4502] Check elliptic curves using SecurityUtils.hasEcc()= and compute the maximum length for DHGEX factories > REGRESSION: using OpenJDK on CentOS 7 causes bin/client to fail with "Una= ble to negotiate key exchange for kex algorithms" > -------------------------------------------------------------------------= ------------------------------------------------- > > Key: KARAF-4502 > URL: https://issues.apache.org/jira/browse/KARAF-4502 > Project: Karaf > Issue Type: Bug > Affects Versions: 4.0.3, 3.0.6, 4.0.4 > Environment: CentOS Linux release 7.0.1406 (Core)=20 > openjdk version "1.8.0_77" > Reporter: Damjan Jovanovic > Assignee: Jean-Baptiste Onofr=C3=A9 > Fix For: 3.0.7, 4.0.6 > > > On a fresh install of CentOS 7 with OpenJDK 1.8, running karaf container = versions > 4.0.2 either with "bin/karaf" or as a service (whether sysvinit = or systemd), trying to log in with "bin/client" always fails with an except= ion. > Oracle JDK - by comparison - works. > "git bisect" narrowed down the regression to the following commit: > 539540cde099aee52fd523a09aca92e36522261c is the first bad commit > commit 539540cde099aee52fd523a09aca92e36522261c > Author: Freeman Fang > Date: Wed Oct 14 12:09:09 2015 +0800 > [KARAF-4062]Karaf client does now work after installing BouncyCastle > :040000 040000 926f15997510a671ff77db9623f8b65ce4186706 da83c22e043de3004= a620f1cc88e25ee672bd09d M=09client > The exception is: > # bin/client > Logging in as karaf > 3771 [sshd-SshClient[593634ad]-nio2-thread-2] WARN org.apache.sshd.client= .session.ClientSessionImpl - Exception caught > java.lang.IllegalStateException: Unable to negotiate key exchange for kex= algorithms (client: ecdh-sha2-nistp256,ecdh-sha2-nistp256,ecdh-sha2-nistp3= 84,ecdh-sha2-nistp384,ecdh-sha2-nistp521,ecdh-sha2-nistp521 / server: diffi= e-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-h= ellman-group1-sha1) > =09at org.apache.sshd.common.session.AbstractSession.negotiate(AbstractSe= ssion.java:1159) > =09at org.apache.sshd.common.session.AbstractSession.doHandleMessage(Abst= ractSession.java:388) > =09at org.apache.sshd.common.session.AbstractSession.handleMessage(Abstra= ctSession.java:326) > =09at org.apache.sshd.client.session.ClientSessionImpl.handleMessage(Clie= ntSessionImpl.java:306) > =09at org.apache.sshd.common.session.AbstractSession.decode(AbstractSessi= on.java:780) > =09at org.apache.sshd.common.session.AbstractSession.messageReceived(Abst= ractSession.java:308) > =09at org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(Abs= tractSessionIoHandler.java:54) > =09at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Sessio= n.java:184) > =09at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Sessio= n.java:170) > =09at org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2Comp= letionHandler.java:32) > =09at java.security.AccessController.doPrivileged(Native Method) > =09at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2= CompletionHandler.java:30) > =09at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126) > =09at sun.nio.ch.Invoker$2.run(Invoker.java:218) > =09at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGr= oupImpl.java:112) > =09at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecuto= r.java:1142) > =09at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecut= or.java:617) > =09at java.lang.Thread.run(Thread.java:745) > Authentication failed -- This message was sent by Atlassian JIRA (v6.3.4#6332)