Hi, Iam having issue using SSL_connect() API when implementing an SSL client application. The API fails returning -1 and the error it says is "VERIFY err : 7 : certificate signature failure".
When I try using s_client using the same root CA, it works fine. I am not able to understand what is the problem.
Only thing I can see is that the Root CA certificate that Iam configuring at the client is of VERSION 1 and the Intermediate CA and the Server certificates are of VERSION 3. Iam using SSLv3_client_method(). Upon debugging further, the x509_verify_cert() is failing for the Root CA. Can some one help me in the correct way of calling the SSL_connect().