From: Warren Young Date: February 28 2007 12:57pm Subject: Re: SSL Connection error List-Archive: http://lists.mysql.com/plusplus/6389 Message-Id: <45E57C44.4000101@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit fred ouille wrote: > const char * pKey = "..\\SSL\\client-key.pem"; > const char * pCert = "..\\SSL\\client-cert.pem"; > const char * pCA = "..\\SSL\\cacert.pem"; > const char * pCApath = "..\\SSL\\newcerts\\"; > const char * pCipher = "ALL"; I've never done this, but a few things come to mind: 1. Have you tried moving all of these files into the program's working directory, and giving just the file name? That completely eliminates any concerns about relative vs. absolute paths, forward vs. backslashes, etc. 2. If your file naming is to be believed, you're using the same key file on both sides of the connection. That isn't how public key cryptography works, in my experience. 3. Have you tried doing this with just the plain C API? Once you get it working that way, you can start adding abstraction layers.