I think you have to add cdot.in certificate to your CA file. - Bill On 12/14/2015 12:02 AM, shubham verma wrote: > Hello > > > on sending register request to server > untrusted server certificate error is coming : > > does that mean the certificate sent by server is not signed by CA the > public key of which is available at client end ?? > > > > REGISTER sip:192.168.103.175;transport=tls SIP/2.0 > Via: SIP/2.0/TLS > 192.168.1.186:46056;rport;branch=z9hG4bKPjr3xYrjUCy5QK7NNKdhBWcwLs2tBGsnqO;alias > Max-Forwards: 70 > From: <sip:911126592065@192.168.103.175>;tag=1foj94Tvyv.12FP0FDGNE1J59Ut5Q7Ro > To: <sip:911126592065 at 192.168.103.175> > Call-ID: KYPZdCqm3awLif0EpgbLlUIoMi6wfuUD > CSeq: 28092 REGISTER > User-Agent: PJSUA v2.4.5 Linux-3.13.0.45/x86_64/glibc-2.19 > Supported: outbound, path > Contact: <sip:911126592065 at 192.168.1.186:46056;transport=TLS;ob>;reg-id=1;+sip.instance="<urn:uuid:00000000-0000-0000-0000-0000aa013800>" > Expires: 300 > Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, > NOTIFY, REFER, MESSAGE, OPTIONS > Content-Length: 0 > > > --end msg-- > 10:26:19.540 pjsua_acc.c ..Acc 3: Registration sent > 10:26:19.540 pjsua_acc.c Acc 3: setting online status to 1.. > 10:26:19.540 pjsua_core.c PJSUA state changed: INIT --> STARTING > 10:26:19.540 sip_endpoint.c .Module "mod-unsolicited-mwi" registered > 10:26:19.540 pjsua_core.c .PJSUA state changed: STARTING --> RUNNING > >>>> 10:26:19.657 pjsua_app.c !SIP TLS transport is connected to [192.168.103.175:5061] > 10:26:19.657 pjsua_app.c TLS cipher used: 0x000039/DHE-RSA-AES256-SHA > 10:26:19.657 pjsua_app.c TLS cert info of [192.168.103.175:5061]: > Version : v3 > Serial : 02 > Subject : ServCert1 > /C=IN/ST=DEL/L=ND/O=CDOT/OU=FT/CN=ServCert1/emailAddress=192.168.103.173 > Issuer : CA > /C=IN/ST=DEL/L=ND/O=CDOT/OU=FT/CN=CA/emailAddress=ca at cdot.in > Valid from : Thu 2015-11-26 05:41:00.000 GMT > Valid to : Sat 2016-11-26 05:36:00.000 GMT > > 10:26:19.657 pjsua_app.c TLS cert verification result of > [192.168.103.175:5061] : > 10:26:19.657 pjsua_app.c - The certificate is untrusted > 10:26:19.657 pjsua_app.c - The server identity does not match to > any identities specified in the certificate > 10:26:19.657 pjsua_app.c PJSUA is configured to ignore TLS cert > verification errors > 10:26:19.657 tlsc0x9e6258 TLS transport 192.168.1.186:46056 is > connected to 192.168.103.175:5061 > 10:26:19.662 pjsua_core.c .RX > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org