Hi Aleksander, Thansk for your fast response. For testing the SSL functionality you need to enable this in the mysql server and for the user that will use the SSL connection. And of course you need to create correct certificates. The test themsleves should be fairly easy. The documentation states that the mysql_ssl_set function never fails. But the connect will return an error if the certificates are wrong.
Regards, Michael 2012/9/18 Pawel Aleksander Fedorynski <[email protected]>: > > Hi Michael, > > The patch looks good, I'll try to submit it to the repository in the coming > days. Is it possible to add a test for the new functionality to > test-mysql.cpp, or would it require a special configuration of the mysql > server the tests are talking to? > > Thanks, > > Aleksander > > On Tue, Sep 18, 2012 at 3:01 PM, Michael Kaes <[email protected]> > wrote: >> >> Hi, >> >> I tried to use an SSL connection with a mysql database and SOCI. But I >> was not able to set it up. >> Is there any way in SOCI to do this. >> I could only help myself by patching SOCI itself. Is there another >> way? If not is it possible to apply my patch into SOCI? >> I just added the SSL certificates to the connect string. >> >> Regards, >> Michael >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Soci-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/soci-users >> > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Soci-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/soci-users > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
