I'm using Java 1.6 and netty 3.8 for HTTP/HTTPS server. I've done SSL test by ssllab.com(https://www.ssllabs.com/ssltest/analyze.html), and I got a result for cipher suites like below.
Cipher Suites (sorted by strength; the server has no preference)
But, a result for google.com is something different. https://www.ssllabs.com/ssltest/analyze.html?d=www.google.com&s=74.125.227.148
Cipher Suites (SSL 3+ suites in server-preferred order, then SSL 2 suites where used)
How can I set server-side preference order for cipher suites? Does JSSE have any property or API about that?
Thanks in advance.
Since Java 1.8, there is a setUseCipherSuitesOrder method on the SSLParameters class.
The way that is set depends on the server you are using. If you have access to the SSLEngine you can get the parameters, change the value, and then set the parameters back on the engine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With