Error "The security strength of SHA-1 digest algorithm is not sufficient for this key size" when trying to clone git repository using ssh
Issue
-
Attempt to start
kie-config-cli.shusing ssh fails with the message:WARN [org.apache.sshd.server.session.ServerSession] (sshd-SshServer[2aeb684e]-nio2-thread-2) Exception caught: java.security.InvalidKeyException: The security strength of SHA-1 digest algorithm is not sufficient for this key size ... Exception in thread "main" java.lang.RuntimeException: org.eclipse.jgit.api.errors.TransportException: ssh://brmsAdmin@localhost:8001/system: Session.connect: java.io.IOException: End of IO Stream Read ... -
Attempt to clone git repository using ssh fails with
The security strength of SHA-1 digest algorithm is not sufficient for this key sizemessage;
Environment
- Red Hat JBoss BPM Suite (BPMS) 6.4
- Red Hat JBoss BRMS (BRMS) 6.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
