Error "The security strength of SHA-1 digest algorithm is not sufficient for this key size" when trying to clone git repository using ssh

Solution In Progress - Updated -

Issue

  • Attempt to start kie-config-cli.sh using 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 size message;

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content