[CONC-127] Mariadb c connector connects with any SSL certificate. Created: 2015-03-11  Updated: 2015-03-18

Status: Open
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Abhishek Assignee: Georg Richter
Resolution: Unresolved Votes: 1
Labels: None
Environment:

Using mysql in Amazon RDS(5.6.19), Openssl 1.0.1h, revision 119, windows 8.


Attachments: File dummy.pem     Text File mariadb_test.cpp    

 Description   

I have attached the sample code and a fake dummy ca certificate. I observe the using any SSL ca certificate it works properly with mariadb client but doesn't works with mysqlclient.
here are the output of my sample program-
With maraidbclient.lib compiled with openssl 1.0.1h-
*mysql_library_init() is successful
Encryption--AES256-SHA
everything worked
Encryption--AES256-SHA
everything worked*
with mysqlclient.lib-
*mysql_library_init() is successful
Error mysql_real_connect: SSL connection error: ASN: bad other signature confirm
ation
Error mysql_real_connect: SSL connection error: ASN: bad other signature confirm
ation
*
I also observe that this happens only on windows environment. I am using windows 8 while running the sample program.

EDIT-
I am using an older revision(119) and I don't know whether latest revision have this issue. I am not able to compile latest revision, please refer-this


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