Forum Stats

  • 3,838,503 Users
  • 2,262,377 Discussions
  • 7,900,674 Comments

Discussions

java.security.InvalidAlgorithmParameterException: parameter object not a ECParameterSpec

I am getting this error since  today  morning, exception stack trace , I am using tomcat , redhat linux

java version "1.7.0_51"

Java(TM) SE Runtime Environment (build 1.7.0_51-b13)

Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

Please advice what is causing this, how to resolve this.

Caused by: java.lang.RuntimeException: Could not generate DH keypair

        at sun.security.ssl.ECDHCrypt.<init>(ECDHCrypt.java:80)

        at sun.security.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:632)

        at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:218)

        at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)

        at sun.security.ssl.Handshaker.process_record(Handshaker.java:804)

        at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1016)

        at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)

        at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)

        ... 57 more

Caused by: java.security.InvalidAlgorithmParameterException: parameter object not a ECParameterSpec

        at org.bouncycastle.jce.provider.JDKKeyPairGenerator$EC.initialize(Unknown Source)

        at sun.security.ssl.ECDHCrypt.<init>(ECDHCrypt.java:75)

        ... 64 more

This discussion has been closed.