Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.security.InvalidAlgorithmParameterException: parameter object not a ECParameterSpec

user11138293Oct 16 2014

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

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 13 2014
Added on Oct 16 2014
0 comments
3,792 views