I downgraded from Java 1.8 to 1.7 and it works now.

On Wednesday, April 1, 2015 at 7:44:55 PM UTC-7, Nick T wrote:
>
> I had this working on a previous Jenkins deployment, now I'm stumped.  I 
> imported my internal CA with the keytool. Once I did that I now get a new 
> error.  Has anyone ran into this problem?
>
> [Root exception is javax.net.ssl.SSLException: java.lang.RuntimeException: 
> Could not generate secret]
>
> Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not 
> generate secret
>       at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
>       at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1937)
>       at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1894)
>       at 
> sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1877)
>       at 
> sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1803)
>       at sun.security.ssl.AppInputStream.read(AppInputStream.java:116)
>       at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
>       at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
>       at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
>       at com.sun.jndi.ldap.Connection.run(Connection.java:848)
>       ... 1 more
> Caused by: java.lang.RuntimeException: Could not generate secret
>       at sun.security.ssl.ECDHCrypt.getAgreedSecret(ECDHCrypt.java:98)
>       at 
> sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:1036)
>       at 
> sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:344)
>       at sun.security.ssl.Handshaker.processLoop(Handshaker.java:957)
>       at sun.security.ssl.Handshaker.process_record(Handshaker.java:892)
>       at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1050)
>       at 
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363)
>       at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:916)
>       at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
>       ... 5 more
> Caused by: java.security.InvalidKeyException: ECDH key agreement requires 
> ECPublicKey for doPhase
>       at 
> org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi.engineDoPhase(Unknown
>  Source)
>       at javax.crypto.KeyAgreement.doPhase(KeyAgreement.java:552)
>       at sun.security.ssl.ECDHCrypt.getAgreedSecret(ECDHCrypt.java:95)
>       ... 13 more
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c8c86bd5-8531-4bd1-b5db-0a8a1fc17cbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to