SSL is enabled :)
DTLS supported: yes
DTLS-SRTP supported: yes
NSString * path3 = [[NSBundle mainBundle] pathForResource: @"rootcert" ofType: @"pem"];
NSString * path2 = [[NSBundle mainBundle] pathForResource: @"private" ofType: @"pem"];
NSString * path1 = [[NSBundle mainBundle] pathForResource: @"public" ofType: @"pem"];
// NSLog(@"%@", path);
[[NgnEngine sharedInstance].configurationService
setStringWithKey:SECURITY_SSL_FILE_KEY_PUB andValue:path1];
[[NgnEngine sharedInstance].configurationService
setStringWithKey:SECURITY_SSL_FILE_KEY_PRIV andValue:path2];
[[NgnEngine sharedInstance].configurationService
setStringWithKey:SECURITY_SSL_FILE_KEY_CA andValue:path3];
***ERROR: function: "tnet_transport_tls_set_certs()"
file: "/Users/arjun/projects/mydoubs/doubango/branches/2.0/doubango/tinyNET/src/tnet_transport.c"
line: "250"
MSG: SSL_CTX_use_certificate_file failed [0,error:0906D06C:PEM routines:PEM_read_bio:no start line]
PS: I know there are more steps to get a DTLS RTCWeb session going on, but I am right now just trying to solve the TLS cert issue as step 1
MediaSessionMgr::defaultsSetSRtpType(tmedia_srtp_type_dtls);
MediaSessionMgr::defaultsSetSRtpMode(tmedia_srtp_mode_mandatory);
NSString * rootcert = [[NSBundle mainBundle] pathForResource: @"cacert" ofType: @"pem"];
[[NgnEngine sharedInstance].configurationService
setStringWithKey:SECURITY_SSL_FILE_KEY_CA andValue:rootcert];
// start the engine
[[NgnEngine sharedInstance] start];
--
You received this message because you are subscribed to the Google Groups "discuss-doubango" group.
To unsubscribe from this group and stop receiving emails from it, send an email to doubango+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
<detailedlogs.txt><cacert.pem>
--
You received this message because you are subscribed to the Google Groups "discuss-doubango" group.
To unsubscribe from this group and stop receiving emails from it, send an email to doubango+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
NSString * pubkey = [[NSBundle mainBundle] pathForResource: @"public" ofType: @"pem"];
MediaSessionMgr::defaultsSetSRtpType(tmedia_srtp_type_dtls);
MediaSessionMgr::defaultsSetSRtpMode(tmedia_srtp_mode_mandatory);
[[NgnEngine sharedInstance].configurationService
setStringWithKey:SECURITY_SSL_FILE_KEY_PUB andValue:pubkey];
Mamadou, I've been setting breakpoints in iDoubs.
MediaSessionMgr::defaultsSetSRtpType(tmedia_srtp_type_dtls);
MediaSessionMgr::defaultsSetSRtpMode(tmedia_srtp_mode_mandatory);
[[NgnEngine sharedInstance].configurationService
setStringWithKey:SECURITY_SSL_FILE_KEY_PUB andValue:pubkey];
self->srtp_type = (profile == tmedia_profile_rtcweb) ? tmedia_srtp_type_sdes : tmedia_defaults_get_srtp_type();
New:
self->srtp_type = (profile == tmedia_profile_rtcweb) ? tmedia_srtp_type_dtls: tmedia_defaults_get_srtp_type();
--
You received this message because you are subscribed to the Google Groups "discuss-doubango" group.
To unsubscribe from this group and stop receiving emails from it, send an email to doubango+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
<idoubs-sipmlFFDTLSnoTLS.txt>
I understand that DTLS is required for you but the change you've done is not enough and you will probably break another part.For the the audio issue, openssl is requesting for the private identity.
Okay, let me take it a step at a time, first with self-signed. If that doesn't work, I'll buy signed certsI have two questions:1) Why isSipML5 over FF asking for private key? TLS is disabled, and per our earlier conversation, private+cert is not required if TLS is disabled.
2) Do you have a suggestion on how to generate the CA cert? I generated the public/private key as per your suggestion: openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" -keyout www.example.com.key -out www.example.com.cert --> it seems there are several ways to generate the cert, and if you have an example of what will work, that can help a lot in time savings for me.
--
You received this message because you are subscribed to the Google Groups "discuss-doubango" group.
To unsubscribe from this group and stop receiving emails from it, send an email to doubango+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
As part of the setup we have used our own web socket server. I have tried configuring the following things to start with
I am not even sure whether the communication happens over web socket and I also do not see the a=fingerprint for DTLS.
Can somebody throw some light on this?