[CONC-190] Connecting RDS using SSL is not working properly. Created: 2016-06-03  Updated: 2016-06-04  Resolved: 2016-06-04

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: 3.0.0, 2.2.3
Fix Version/s: 3.0.1, 2.3.0

Type: Bug Priority: Critical
Reporter: Sandhya Sriraj Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None
Environment:

Linux and Windows


Attachments: File cacert.pem     File examine.cpp    

 Description   

Connecting RDS using SSL is working only at the first time. If we try to connect again mysql_real_connect returns error "SSL connection error: certificate verify failed" in Linux and "SSL connection error: unable to get issuer certificate" in Windows.

Sample code and bundle certificate attached.

Amazon RDS using SSL:
http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html#Aurora.Overview.Security.SSL



 Comments   
Comment by Georg Richter [ 2016-06-04 ]

Fixed (commit ea6028804a02027a95c9c228e47b96650d512776)

Generated at Thu Feb 08 03:03:31 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.