java.security.NoSuchAlgorithmException

EC KeyPairGenerator not available

Solutions on the web610

  • via Oracle Community by 843811, 1 year ago
    EC KeyPairGenerator not available
  • via hivmr.com by Unknown author, 11 months ago
    EC KeyPairGenerator not available
  • via Apache's JIRA Issue Tracker by Damjan Jovanovic, 11 months ago
    EC KeyPairGenerator not available
  • Stack trace

    • java.security.NoSuchAlgorithmException: EC KeyPairGenerator not available at java.security.KeyPairGenerator.getInstance(KeyPairGenerator.java:218) at org.apache.sshd.common.util.SecurityUtils.getKeyPairGenerator(SecurityUtils.java:155) at org.apache.sshd.common.kex.ECDH.<init>(ECDH.java:51) at org.apache.sshd.client.kex.ECDHP256.getDH(ECDHP256.java:48) at org.apache.sshd.client.kex.AbstractDHGClient.init(AbstractDHGClient.java:71) at org.apache.sshd.common.session.AbstractSession.doHandleMessage(AbstractSession.java:390) at org.apache.sshd.common.session.AbstractSession.handleMessage(AbstractSession.java:326) at org.apache.sshd.client.session.ClientSessionImpl.handleMessage(ClientSessionImpl.java:306) at org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:780) at org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:308) at org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:54) at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:184) at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:170) 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.invokeDirect(Invoker.java:157) at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:553) at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276) at sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297) at java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420) at org.apache.sshd.common.io.nio2.Nio2Session.startReading(Nio2Session.java:170) at org.apache.sshd.common.io.nio2.Nio2Connector$1.onCompleted(Nio2Connector.java:60) at org.apache.sshd.common.io.nio2.Nio2Connector$1.onCompleted(Nio2Connector.java:53) 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:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago