SSLEngine is a Java 5.0 class which provides SSL/TLS services but is transport independent.
Questions tagged [sslengine]
71 questions
0
votes
1 answer
SSL Handshake failure Java
I was learning SSL communications and I came across this issue. I am writing a simple client which tries to handshake with a local apache server. The server is https enabled. I added the server certificates to all possible trust stores (the one in…

Don Woodward
- 121
- 2
- 8
0
votes
1 answer
How to create an SSLEngine with all the same public keys/certs from chrome, firefox or any browser?
Is there anyway to create the SSLEngine using the certs that are installed with Chrome? I remember by default it has quite a few authority public certs installed.
I would think, since chrome works with all the websites that I know of, that would be…

Dean Hiller
- 19,235
- 25
- 129
- 212
0
votes
0 answers
Using TLS1.2 on Android 4.0.4
Does anyone know a way to enable Android 4.0.4 to use TLS1.2 when making SSL connections?
I've read the answers to this question:
- Making SSLEngine use TLSv1.2 on Android (4.4.2)?
However, Google Play Services are not available on the production…

stephendwolff
- 1,382
- 1
- 13
- 27
0
votes
1 answer
SSLEngine handshaking stuck after task
I use example from http://books.google.com/books?id=l6f1jTB_XCYC&lpg=PA185&vq=scalable%20secure&pg=PA185#v=onepage&q&f=false to see how SSLEngine works with SocketChannel. Later i wanted to create solution adapted to my implementation.…
user2216087
0
votes
1 answer
Android SSLEngine BUFFER_UNDERFLOW after unwrap while reading
I don't know why but half the sites that go through ssl get a buffer_underflow during my read.
When I have my program chained to call different ssl sites consecutively it doesn't work on half the links, but if I call one by one individually, they…

Juan Acevedo
- 1,768
- 2
- 20
- 39
0
votes
1 answer
Aceepting any Client Certificate in SSL-Handshake
I'm using Netty on Android and server side to establish a SSL-secured connection with client-authentication. Now I'm having difficulties connecting with these certificates since SSLEngine declines them due to "null cert chain".
This is what I've…

Chris
- 661
- 2
- 7
- 23
0
votes
1 answer
How are trust stores and Key stores used in SSL?
When creating an SSL connection using Java we first initialize an SSLContext with our KeyStores and TrustStores. SSLContext in javax.net.ssl has a method called createSSLEngine() to create an SSLEngine. So when creating a session for the connection,…

Jeewantha
- 965
- 1
- 11
- 28
0
votes
2 answers
SSLException: Invalid padding Unwrapping TLS Application Data
Several months ago I developed an SSL web server using NIO and the SSLEngine. GET requests work great as do small POST requests (under ~10KB). However, I'm getting sporadic SSLException exceptions, when I POST anything larger than that.
For…

Peter
- 1,182
- 2
- 12
- 23
-1
votes
1 answer
bad_certificate but only when using chrome and RSA (not DES)
Recently, started getting "javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate" after upgrades and such and using TLSv1.3 now I think. Safari, opera and Firefox seem to work fine but Chrome causes exceptions in the…

Dean Hiller
- 19,235
- 25
- 129
- 212
-1
votes
1 answer
TLS will SSLEngine download intermediate certificates
I have next case: a client has in its trust store only the root certificate. During TLS handshake a server sends its own certificate signed with an intermediate certificate to the client.
Will SLLEngine on client side download the intermediate…

Kirill Liubun
- 1,965
- 1
- 17
- 35
-1
votes
2 answers
sslengine cypher suite with no encryption
I have a small problem in using SSLEngine of Java. I used it for creating SSL connection between client and server. This is not a web based application.
I'm creating a framework for developers of my product to communicate between client and…

Bhaswanth
- 283
- 6
- 14