[jboss-jira] [JBoss JIRA] (DROOLS-2528) GIT clone ssh not working with java 8 > u111 in drools workbench
Alexandre Porcelli (JIRA)
issues at jboss.org
Mon May 7 14:10:00 EDT 2018
[ https://issues.jboss.org/browse/DROOLS-2528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13572276#comment-13572276 ]
Alexandre Porcelli commented on DROOLS-2528:
--------------------------------------------
[~aarevkov] thank you for your feedback. Is it a bug? If yes... this is a Java issue, that can't handle older certs =/
> GIT clone ssh not working with java 8 > u111 in drools workbench
> ----------------------------------------------------------------
>
> Key: DROOLS-2528
> URL: https://issues.jboss.org/browse/DROOLS-2528
> Project: Drools
> Issue Type: Bug
> Affects Versions: 6.5.0.Final, 7.5.0.Final, 7.7.0.Final
> Environment: CentOS 7, Java 8 u111, Java 8 u161, Java 9, Java 10
> Reporter: Alexander Revkov
> Assignee: Alexandre Porcelli
> Priority: Critical
>
> I cloned my repo by git-ssh ssh://my_ip:8080/myrepo
> If i run drools workbench with java 8 u111. This work is fine. But when i try run workbench with latest version of java 8u161, 9 or 10. clone with ssh not working. I see this exception in log:
> {code:java}
> Exception caught: java.security.InvalidKeyException: The security strength of SHA-1 digest algorithm is not sufficient for this key size
> at sun.security.provider.DSA.checkKey(DSA.java:111)
> at sun.security.provider.DSA.engineInitSign(DSA.java:143)
> at java.security.Signature$Delegate.engineInitSign(Signature.java:1178)
> at java.security.Signature.initSign(Signature.java:531)
> at org.apache.sshd.common.signature.AbstractSignature.init(AbstractSignature.java:47)
> at org.apache.sshd.server.kex.AbstractDHGServer.next(AbstractDHGServer.java:91)
> at org.apache.sshd.common.session.AbstractSession.doHandleMessage(AbstractSession.java:393)
> at org.apache.sshd.common.session.AbstractSession.handleMessage(AbstractSession.java:295)
> at org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:731)
> at org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:277)
> at org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:54)
> at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:187)
> at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:173)
> at org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:32)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:30)
> at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)
> at sun.nio.ch.Invoker$2.run(Invoker.java:218)
> at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> {code}
> Maybe this is related to this? http://www.oracle.com/technetwork/java/javase/8u151-relnotes-3850493.html
> If yes what users need do to fix it? Else, please fix it. Thank you.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list