< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate-users] How to set the resip use the TLS anyway even TLS valid failure


I have change the source code in the security.cxx to   SSL_CTX_set_verify(ctx, SSL_VERIFY_PEER|SSL_VERIFY_NONE, verifyCallback);

Then  got it works.



On Fri, Nov 29, 2013 at 3:35 AM, Daniel Pocock <daniel@xxxxxxxxxxxxx> wrote:


On 22/11/13 10:11, Karlsson wrote:
> Hi, when I use resip with TLS transport to sip2sip.info:443, it says failed
> to valid the certificate, but if I use the doubango softphone to this
> server by TLS, it's works fine.
>
> How can I set the resip use the TLS anyway even TLS valid failure ?

To make repro completely ignore certificate errors (or chain errors)
would require a code change and it is probably not a good idea.

However, you may find that it is possible to obtain a copy of the root
certificate from the CA who signed your peer's certificate. Then you
just add that root certificate into your local configuration.

See these config options:

CertificatePath
CADirectory
CAFile
_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/