On Mon, Aug 18, 2014 at 5:47 PM, dhanesh ov
<dhanesh.raveend...@gmail.com> wrote:
> Hi,
>
> Can anyone tell how the server trust evaluation can be customized in
> openssl? We are using openssl in iOS and need to customize the server trust
> evaluation in openssl using self signed certificate.
I believe you are interested in SSL_CTX_set_verify(3) and
SSL_set_verify(3) callback.
https://www.openssl.org/docs/ssl/SSL_CTX_set_verify.html.

There are additional examples of its use in the source code. See, for
example, <openssl src>/apps/s_client.c.

Jeff
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to