I'm having trouble adding certificate checking to my app. I created a
certificate file for the server, and have a copy of the crt file in
the client, load it with SSL_CTX_load_verify_locations with a
directory which returns true, but if I call SSL_CTX_set_verify with
SSL_VERIFY_PEER on my context, then it doesn't pass.

I don't know what am I doing wrong. It's my first time for all of
this, so it might be anything from a mis-created certificate to an
error in my calls. The copying the .crt file to the client is
something i figured out/made up myself, so that might not be what I
have to do... I really don't know which part am I doing wrong

The idea is to sign our own certificates because we make our own
client and it's only supposed to connect to our server, we don't need
to get it signed by a big CA. It's a game, which transfers some data
via http POST and GET, and we want to keep that secure

Can someone give me a hand? I just want to make sure the certificate
I'm getting is the one I want (if I got things right, I don't even
need URI checking),

Thanks a lot

Tomás

-- 
|_|0|_|
|_|_|0|
|0|0|0|

(\__/)
(='.'=)This is Bunny. Copy and paste bunny
(")_(") to help him gain world domination.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to