TLS/SSL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Khoa,
?
1. When checking the second item on your list, I verified the below.
?????pjsua_transport_config  udp_cfg;?????pjsua_transport_id	    transport_id;
?
????/*Configued defaults */????????pjsua_transport_config_default(&udp_cfg);
?
????/* Add UDP transport and the corresponding PJSUA account */
????status = pjsua_transport_create(PJSIP_TRANSPORT_TLS, &udp_cfg, &transport_id);
?
2. The problem I seem to be having is that it doesn't register with the server with TLS tranport, but does with the???? 
?? ?UDP transport. When I attempt to use the win32 pjsua application and use the following options "--use-tls --tls-
????ca-file cacert.pem --tls-cert-file cacert.pem --tls-privkey-file VoipPrivKey.pem", and attempt to make a call from 
????the application; It goes through, but a look at a?packet capture does not show the TLS transport being used or SIP ????messages being sent over 5061.?
 

________________________________
 From: Khoa Pham <onmyway133@xxxxxxxxx>
To: Hemsley Bien-aise <impaq_2 at yahoo.com>; pjsip list <pjsip at lists.pjsip.org> 
Sent: Sunday, March 31, 2013 10:44 PM
Subject: Re: TLS/SSL
  

@Hemsley
 
1. You don't need to verify client and server, why create key and cert ?
	* udp_cfg.tls_setting.verify_client = PJ_FALSE;
	* udp_cfg.tls_setting.verify_server = PJ_FALSE; 
2. Please check,?pjsua_transport_create() takes the 2nd parameter as?pjsua_transport_config;
3. What exactly is your problem? What do you mean by "TLS will not work"? Can you REGISTER with TLS enabled?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130401/912786cb/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux