Maria DB Driver with AWS Aurora


We use MariaDB Connector/J to connect to AWS Aurora RDS. RDS has SSL enabled. We use rds-combined-ca-bundle.pem to connect to RDS. This works fine in us-east region. We are trying to deploy our application to Frankfurt. When we try to connect to Aurora RDS in Frankfurt region, connection fails with the following error.

Caused by: unable to find valid certification path to requested target at [?:1.8.0_91] at [?:1.8.0_91] at [?:1.8.0_91] at [?:1.8.0_91] at [?:1.8.0_91] at [?:1.8.0_91] at [?:1.8.0_91] at [?:1.8.0_91] at [?:1.8.0_91] at org.mariadb.jdbc.internal.protocol.tls.MariaDbX509TrustManager.checkServerTrusted( [mariadb-java-client-2.2.0.jar:?]

If we use EU specific certificate we are able to connect but we do not want to customize per region specific certificates. Does Mariadb driver support certificate chains? If yes then why we are not able to connect to RDS using combined cert?

Maria DB Driver version:2.2.0

Answer Answered by Diego Dupin in this comment.

I was thinking about Amazon certificate not following standard ( but this is a new issue.

MariaDB java connector permits multi-certificate, so there is no reason for that kind of issue. If this still occur, can you create a JIRA issue ( that is the Bug tracker for java connector ?


Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.