SSL routines:SSL_CTX_check_private_key:no certificate assigned]

1,700 views
Skip to first unread message

Habib Shahid

unread,
Jun 13, 2014, 8:45:19 AM6/13/14
to opentele...@googlegroups.com
Hello,

I am using CentOS release 6.5 (Final) and have successfully compiled the telepresence. Following is the config file sample, these same certificate files are running absolutely fine on another system running webrtc2sip, but on this telepresence i get a certificate error. I am not sure whats wrong, if the certs are not right then should have given the same error on my other server as well. but perhaps i could be wrong. any help in this regard will be appreciated.

Thank You,

# SSL configuration entries used for TLS, WSS and DTLS-SRTP. Check the technical guide for for info.
#ssl-private-key = /tmp/ssl.pem
#ssl-public-key = /tmp/ssl.pem
#ssl-ca = /tmp/ssl.pem

ssl-private-key = /home/cg/myca/private/key.csr.server1.pem
ssl-ca = /home/cg/myca/certs/crt.server1.pem
ssl-mutual-auth = no

SSL is enabled :)
DTLS supported: yes
DTLS-SRTP supported: yes
***ERROR: function: "tnet_transport_tls_set_certs()"
file: "src/tnet_transport.c"
line: "270"
MSG: SSL_CTX_check_private_key failed [1,error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned]



Beka Iglesias

unread,
Jun 13, 2014, 1:36:37 PM6/13/14
to opentele...@googlegroups.com
I have one problem with SSL certificates too.WebRTC demo client say to me that is connecting but when I have clicked in sharing devices...not acceptable is the end of the connection.

Log :


SSL is enabled :)
DTLS supported: yes
DTLS-SRTP supported: yes
**WARN: function: "tdav_session_av_prepare()"
file: "src/tdav_session_av.c"
line: "433"
MSG: DTLS-SRTP requested but no SSL certificates provided, disabling this option :(
***ERROR: function: "tdav_session_av_set_ro()"
file: "src/tdav_session_av.c"
line: "1276"
MSG: Remote party requesting DTLS-DTLS (UDP/TLS/RTP/SAVPF) but this option is not enabled
***ERROR: function: "tdav_session_audio_set_ro()"
file: "src/audio/tdav_session_audio.c"
line: "623"
MSG: tdav_session_av_set_ro(audio) failed
**WARN: function: "tmedia_session_mgr_set_ro()"
file: "src/tmedia_session.c"
line: "1389"
MSG: _tmedia_session_set_ro() failed
**WARN: function: "tdav_session_av_prepare()"
file: "src/tdav_session_av.c"
line: "433"
MSG: DTLS-SRTP requested but no SSL certificates provided, disabling this option :(
***ERROR: function: "tdav_session_av_set_ro()"
file: "src/tdav_session_av.c"
line: "1276"
MSG: Remote party requesting DTLS-DTLS (UDP/TLS/RTP/SAVPF) but this option is not enabled
***ERROR: function: "tdav_session_video_set_ro()"
file: "src/video/tdav_session_video.c"
line: "1173"
MSG: tdav_session_av_set_ro(video) failed
**WARN: function: "tmedia_session_mgr_set_ro()"
file: "src/tmedia_session.c"
line: "1389"
MSG: _tmedia_session_set_ro() failed
**WARN: function: "tsk_fsm_act()"
file: "src/tsk_fsm.c"
line: "133"
MSG: The FSM is in the final state.



--
You received this message because you are subscribed to the Google Groups "OpenTelepresence" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opentelepresen...@googlegroups.com.
To post to this group, send email to opentele...@googlegroups.com.
Visit this group at http://groups.google.com/group/opentelepresence.
For more options, visit https://groups.google.com/d/optout.

Marcelo Araujo

unread,
Feb 19, 2015, 4:21:28 PM2/19/15
to opentele...@googlegroups.com
I'm getting the same error.

Any solution?

Mamadou DIOP

unread,
Feb 27, 2015, 6:52:56 AM2/27/15
to opentele...@googlegroups.com
On Feb 19, 2015, at 10:21 PM, Marcelo Araujo <marcelo...@gmail.com> wrote:

I'm getting the same error.
change ss-private-key, ssl-public-key and ssl-ca paths to point to the certs.
Reply all
Reply to author
Forward
0 new messages