cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
477
Views
0
Helpful
1
Replies
Highlighted
Beginner

Failed to throw Invalid Parameter Spec exception due to invalid parameter type

Getting ssl error when Context Aware Notifications are being sent. The cert is valid from what I can tell, tested it at https://www.sslshopper.com/ssl-checker.html and it says:

   

The certificate should be trusted by all major web browsers (all the correct intermediate certificates are installed).

 

The certificate was issued by GoDaddy. 

Write review of GoDaddy

 

The certificate will expire in 127 days. 

Remind me

 

The hostname is correctly listed in the certificate.

Here is an error message that download from the Cisco MSE Logs:

javax.net.ssl.SSLException: java.lang.RuntimeException: Failed to throw Invalid Parameter Spec exception due to invalid parameter type.

  at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)

  at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1747)

  at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1708)

  at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1691)

  at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1617)

  at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:105)

  at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)

  at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)

  at java.io.FilterOutputStream.flush(FilterOutputStream.java:123)

  at org.apache.commons.httpclient.methods.StringRequestEntity.writeRequest(StringRequestEntity.java:146)

  at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)

  at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)

  at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)

  at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)

  at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)

  at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)

  at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)

  at com.aes.common.net.HttpsTransportProvider.sendMessage(HttpsTransportProvider.java:168)

  at com.aes.location.intf.track.AesEventGen.fireEventNow(AesEventGen.java:705)

  at com.aes.location.intf.track.DestinationHandler$EventProcessor.send(DestinationHandler.java:843)

  at com.aes.location.intf.track.DestinationHandler$EventProcessor.retrySend(DestinationHandler.java:827)

  at com.aes.location.intf.track.DestinationHandler$EventProcessor.watchDest(DestinationHandler.java:774)

  at com.aes.location.intf.track.DestinationHandler$EventProcessor.run(DestinationHandler.java:688)

  at java.lang.Thread.run(Thread.java:662)

Caused by: java.lang.RuntimeException: Failed to throw Invalid Parameter Spec exception due to invalid parameter type.

  at com.cisco.ciscossl.provider.ciscojce.trust.ECKeyPairGenerator.initialize(ECKeyPairGenerator.java:370)

  at java.security.KeyPairGenerator$Delegate.initialize(KeyPairGenerator.java:627)

  at com.sun.net.ssl.internal.ssl.ECDHCrypt.<init>(ECDHCrypt.java:58)

  at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:568)

  at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:198)

  at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)

  at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529)

  at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:943)

  at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188)

  at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:654)

  at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:100)

  ... 18 more

Everyone's tags (3)
1 REPLY 1
Highlighted
Beginner

Re: Failed to throw Invalid Parameter Spec exception due to invalid parameter type

More Info:

INFO com.cisco.ciscossl.provider.ciscojce.CiscoJCEFirewall - allowing EC because CISCOJ_PERMIT_UNIMPLEMENTED_KEYFACTORY_EC set

INFO com.cisco.ciscossl.provider.ciscojce.CiscoJCEFirewall - allowing EC because CISCOJ_PERMIT_UNIMPLEMENTED_KEYFACTORY_EC set

INFO com.cisco.ciscossl.provider.ciscojce.trust.ECKeyFactory - CiscoJCE creating EC public key based on ECPublicKeySpec

INFO com.cisco.ciscossl.provider.ciscojce.trust.ECKeyFactory - CiscoJCE Find curve name: checking prime curves.

INFO com.cisco.ciscossl.provider.ciscojce.trust.ECKeyFactory - CiscoJCE Find curve name: checking sec curves.

INFO com.cisco.ciscossl.provider.ciscojce.trust.FECPublicKeySpec - CiscoJCE assigning EC public key with curve secp384r1

INFO com.cisco.ciscossl.provider.ciscojce.trust.ECKeyPairGenerator - Separate source of randomness not supported.

ERROR com.cisco.ciscossl.provider.ciscojce.trust.ECKeyPairGenerator - Invalid parameter type.  Only ECGenParameterSpec supported

ERROR com.cisco.ciscossl.provider.ciscojce.trust.ECKeyPairGenerator - Failed to throw Invalid Parameter Spec exception due to invalid parameter type.

Content for Community-Ad
Cisco Community July 2020 Spotlight Award Winners
This widget could not be displayed.