My Oracle Support Banner

SSL Error when using Untrusted SSL Certificates for MySQL Connections via Connector/J (Doc ID 2040481.1)

Last updated on MARCH 08, 2017

Applies to:

MySQL Server - Version 5.6 and later
Information in this document applies to any platform.
The specific error relates to Connector/J, but similar errors could be manifested via other connection methods with the same issue.


On : 5.6 version, SSL

When attempting to connect to MySQL with SSL,
the following error occurs.

Client got error “ Received fatal alert: unknown_ca”

The issue can be reproduced at will with the following steps:
1. Set up MySQL server and client to use SSL
2. Use a certificate authority that is not trusted, NOT locally signed certificates
3. Attempt to connect using SSL

The issue has the following business impact:
Due to this issue, users cannot obtain a secure SSL connection to the MySQL Server.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.