Hi,
Looks like you have verify = 3 (verify peer certificate with locally file) and can't find the peer certificate to verify against.
Are you sure that the CAfile contains the peer certificate too, not only the CAs?
If you use verify = 2 (it just verify the certificate against CA) and doesn't give errors there you have the proof.
I may be wrong but looks like that :)
Regards.