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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.