[Sofia-sip-devel] Using TLS with sofia

2010-08-01 Thread Nauman Sulaiman
Hi, using version 1.12.10. We've compiled OpenSSL 0.9.8, also compiled the 2 
source files related to tls in tport. We know that in NUTAG_URL we must pass in 
transport=tls. What else do we need to do to enable tls on Sofia, is there  any 
sample code to show how to use it?

Thanks 


  

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] Using TLS with sofia

2010-08-06 Thread Pekka Pessi
2010/8/2 Nauman Sulaiman :
> Hi, using version 1.12.10. We've compiled OpenSSL 0.9.8, also compiled the 2 
> source files related to tls in tport. We know that in NUTAG_URL we must pass 
> in transport=tls. What else do we need to do to enable tls on Sofia, is there 
>  any sample code to show how to use it?

You should have root (cafile.pem) and server certificates ready
(agent.pem) in a suitable directory ($HOME/.sip/auth by default).
-- 
Pekka.Pessi mail at nokia.com

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel


Re: [Sofia-sip-devel] Using TLS with sofia

2010-08-06 Thread mikhail.zabaluev
Hi,

> -Original Message-
> From: ext Pekka Pessi [mailto:ppe...@gmail.com]
> Sent: Friday, August 06, 2010 5:26 PM
> To: nauman762-h...@yahoo.co.uk
> Cc: sofia-sip-devel@lists.sourceforge.net
> Subject: Re: [Sofia-sip-devel] Using TLS with sofia
> 
> 2010/8/2 Nauman Sulaiman :
> > Hi, using version 1.12.10. We've compiled OpenSSL 0.9.8, also
> compiled the 2 source files related to tls in tport. We know that in
> NUTAG_URL we must pass in transport=tls. What else do we need to do to
> enable tls on Sofia, is there  any sample code to show how to use it?
> 
> You should have root (cafile.pem) and server certificates ready
> (agent.pem) in a suitable directory ($HOME/.sip/auth by default).

IIRC absence of these files was made non-fatal in a patch. Now it's enough if 
the root CA can be verified by OpenSSL's default verification handler.

I'd look into using sips: URIs for registration headers and NUTAG_URL.

Best regards,
  Mikhail
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel