List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:February 28 2007 12:57pm
Subject:Re: SSL Connection error
View as plain text  
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.
Thread
SSL Connection errorfred ouille28 Feb
  • Re: SSL Connection errorWarren Young28 Feb
    • Re: SSL Connection errorfred ouille28 Feb
      • Re: SSL Connection errorWarren Young28 Feb
        • Re: SSL Connection errorfred ouille28 Feb
          • Re: SSL Connection errorWarren Young28 Feb
            • Re: SSL Connection errorfred ouille2 Mar
              • Re: SSL Connection errorWarren Young2 Mar
                • Re: SSL Connection errorfred ouille2 Mar
                • Re: SSL Connection errorfred ouille6 Mar