10 messages in com.mysql.lists.plusplusRe: SSL Connection error| From | Sent On | Attachments |
|---|---|---|
| fred ouille | 28 Feb 2007 02:34 | |
| Warren Young | 28 Feb 2007 04:57 | |
| fred ouille | 28 Feb 2007 06:20 | |
| Warren Young | 28 Feb 2007 06:25 | |
| fred ouille | 28 Feb 2007 08:34 | |
| Warren Young | 28 Feb 2007 09:48 | |
| fred ouille | 02 Mar 2007 03:40 | |
| Warren Young | 02 Mar 2007 14:15 | |
| fred ouille | 02 Mar 2007 14:19 | |
| fred ouille | 06 Mar 2007 07:01 |
| Subject: | Re: SSL Connection error![]() |
|---|---|
| From: | fred ouille (ochf...@hotmail.com) |
| Date: | 02/28/2007 06:20:47 AM |
| List: | com.mysql.lists.plusplus |
Thank you for your answer.
I tried to move the certs files into the working directory and I rebuilt them according to the documentation of MySQL server. I use these files just like it is said in the documentation, but it still doesn't work.
I would like to avoid using the C API but if I don't find any other solution, I'll try it.
Thank you again for helping me, if you have more ideas dont hesitate to tell me !!
From: Warren Young <mysq...@etr-usa.com>
Reply-To: plus...@lists.mysql.com To: MySQL++ Mailing List <plus...@lists.mysql.com> Subject: Re: SSL Connection error Date: Wed, 28 Feb 2007 05:57:40 -0700
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.
-- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=ochf...@hotmail.com
_________________________________________________________________ Découvrez le Blog heroic Fantaisy d'Eragon! http://eragon-heroic-fantasy.spaces.live.com/




