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!

No available certificate or key corresponds to the SSL cipher suites which

ThomasHDec 18 2010 — edited Dec 30 2010
Hi,

I have only recently started with SSL. So far I have managed to secure a Tomcat Server on my local area network with SSL. However when using the same keystore to start an Apache Derby Network Server with SSL I am getting the above mentioned error. Attached is the outpout a keytool -v -list provides for the keystore I am using. Can someone help in identifying what the problem is please? What I find confusing is that the same keystore works in conjunction with Tomcat while it does not in conjunction with Derby. Thanks

Keystore type: JKS
Keystore provider: SUN

Your keystore contains 1 entry

Alias name: thmb
Creation date: Dec 11, 2010
Entry type: PrivateKeyEntry
Certificate chain length: 2
Certificate[1]:
Owner: EMAILADDRESS=x <at> t-online.de, CN=THMB, OU=IT, O=x, L=x, ST=x, C=DE
Issuer: EMAILADDRESS=x <at> t-online.de, CN=THMB CA, OU=IT, O=x, L=x, ST=x, C=DE
Serial number: 1
Valid from: Sat Dec 11 12:50:08 CET 2010 until: Sun Dec 11 12:50:08 CET 2011
Certificate fingerprints:
MD5: A8:27:6E:B4:81:E0:6B:23:B4:A7:4C:13:4B:16:80:EC
SHA1: B9:9F:2B:CA:03:40:00:A0:4B:03:A0:CD:E7:E7:8F:61:9D:B9:26:42
Signature algorithm name: SHA1withRSA
Version: 3

Certificate[2]:
Owner: EMAILADDRESS=x <at> t-online.de, CN=THMB CA, OU=IT, O=x, L=x, ST=x, C=DE
Issuer: EMAILADDRESS=x <at> t-online.de, CN=THMB CA, OU=IT, O=x, L=x, ST=x, C=DE
Serial number: 95e743a14724966f
Valid from: Sat Dec 11 12:44:17 CET 2010 until: Tue Dec 08 12:44:17 CET 2020
Certificate fingerprints:
MD5: 8D:D4:44:B6:37:EC:51:CD:25:85:E8:F1:0A:A9:30:2D
SHA1: E7:04:DB:FC:DA:16:FE:46:88:56:C5:0B:65:D5:0F:DF:AC:0E:A1:D7
Signature algorithm name: SHA1withRSA
Version: 3

Edited by: user13506192 on 22.12.2010 00:08

I have now tried to run the Derby Server on Windows with this keystore. On this platform I am getting the following exception:
java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.internal.ssl.DefaultSSLContextImpl)

Can someone please help? Should more information be required to analyse what is causing this, please let me know.

Thanks a lot in advance.

Regards
Thomas
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 27 2011
Added on Dec 18 2010
5 comments
2,399 views