Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Getting Server selected improper ciphersuite SSL_RSA_WITH_DES_CBC_SHA exception with java 1.7.0_15 b

user8819495Dec 22 2013

Hi I am getting javax.net.ssl.SSLException: Server selected improper ciphersuite SSL_RSA_WITH_DES_CBC_SHA when i try to sign using SHA1WithRSA algorithm in java 1.7.0_15 but not in 1.7.0_03

Comments

unknown-951199

4b46e1c7-25c8-482d-80a3-70a2eb58f321 wrote:

I've set up a secure connection, and the handshake connects using TLSv1.

Is there a way to have it negotiate TLSv1.2?

I'm using ojdbc7.jar from 12.1.0.2

why are you posting a question about networking in an Oracle database forum?

Oracle DB has NO inherent or builtin network capability & depends 100% upon the underlying OS for any & all network functionality.

unknown-7404

Are you explicitly setting the protocol to TLSv2 using one of these methods?

-Dhttps.protocols="TLSv2"

System.setProperty("https.protocols", "TLSv2");

If you need more help than the above then please mark the thread ANSWERED and repost it in the JDBC forum.

When you repost provide the code you are using that shows how you are connecting.

Also post any info about how the client JVM is being launched and the properties being set:

2810868

During handshake client and server agree on maximal common protocol. If you defined protocol as TLSv1.2 but actual communication is using TLSv1.0 probably server does not configured to support TLSv1.2+.

User_5FQQH

rp0428 wrote:

Are you explicitly setting the protocol to TLSv2 using one of these methods?

-Dhttps.protocols="TLSv2"

System.setProperty("https.protocols", "TLSv2");

If you need more help than the above then please mark the thread ANSWERED and repost it in the JDBC forum.

When you repost provide the code you are using that shows how you are connecting.

Also post any info about how the client JVM is being launched and the properties being set:

Thank you for a helpful response.

I wasn't aware there was a JDBC-specific forum. When I searched the forums for "JDBC", one of the first hits I got was , which was in the "General" forum, so I thought I would start here.

I've set -Dhttps.protocols to "TLSv1.2", but I continue to get "ClientHello, TLSv1" in the logs.

I will repost in the JDBC forum.

unknown-7404
Answer

Thanks for reposting in the correct forum.

Please mark this thread ANSWERED.

Marked as Answer by User_5FQQH · Sep 27 2020
1 - 6
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 19 2014
Added on Dec 22 2013
0 comments
1,043 views