# Re: Java Client/SSL.jar interop problems with SSLEAY.

Jeff Nisewanger (jdn@puuoo.eng.sun.com)
Mon, 5 Oct 1998 08:42:05 -0700 (PDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: David Brownell: "Re: Java Client/SSL.jar interop problems with SSLEAY."
- Previous message: tlmjc@msn.com: "Increase your website traffic dramatically!"
- Maybe in reply to: Arjun Khanna: "Java Client/SSL.jar interop problems with SSLEAY."
- Next in thread: David Brownell: "Re: Java Client/SSL.jar interop problems with SSLEAY."

> Exception while reading/writing data Server key,
> java.security.SignatureException: invalid encoding for signature
> javax.net.ssl.SSLException: Server key, java.security.SignatureException:
> invalid encoding for signature
> at
> sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:157)
> at sun.security.ssl.Handshaker.process_record(Compiled Code)
> at sun.security.ssl.SSLSocketImpl.clearPipeline(Compiled Code)
> at sun.security.ssl.SSLSocketImpl.write(Compiled Code)
> at sun.security.ssl.AppOutputStream.write(Compiled Code)
> at DH.<init>(Compiled Code)
> at DH.main(DH.java:77)

Sigh. This may be a bug in our handling of the signature element
in the Server Key Exchange message in SSL_DHE_DSS_* cipher suites.
Apparently we are not encoding/decoding the 16-bit length header before
the signature bits correctly.

> I'd be happy to mail the secserver file and certs if anyone is interested.

Sure. Please send these to me directly.
Jeff

- Next message: David Brownell: "Re: Java Client/SSL.jar interop problems with SSLEAY."
- Previous message: tlmjc@msn.com: "Increase your website traffic dramatically!"
- Maybe in reply to: Arjun Khanna: "Java Client/SSL.jar interop problems with SSLEAY."
- Next in thread: David Brownell: "Re: Java Client/SSL.jar interop problems with SSLEAY."