Yate Community Forum

Yate server => Other Yate server issues => Topic started by: popovn on May 21, 2013, 06:43:18 AM

Title: run YATE on windows with sip/rtp ssl encription (question)
Post by: popovn on May 21, 2013, 06:43:18 AM
I want to run YATE on localhost with ssl encription.<br>
Without ssl, if i use udp or tls type of listener- etherithing  is OK - i check by yate-client on same machine.<br>
But with ssl enabled - i cant to connect.

For test i created key and certificate on http://www.cert-depot.com/  (http://www.cert-depot.com/)<br>
Put them near openssl.conf and add them into it.<br>
But i dont know what to write into sslcontext option.<br>
If i use "sslcontext=localhost" then YATE writes to log:

    <sip:WARN> Listener(TLS,'general') failed to start SSL [006E95D0]
    <sip:ALL> Listener(TLS,'general') '127.0.0.1:5061' got conn from '127.0.0.1:50672' [006E95D0]
    <openssl:WARN> SslHandler: Unable to find a server context for context=localhost or domain=

If i not use sslcontext - YATE writes what context is empty and nothing on my tring to connect.




Title: Re: run YATE on windows with sip/rtp ssl encription (question)
Post by: marian on May 21, 2013, 07:02:38 AM
sslcontext set in ysipchan.conf listener must be the name of the section in openssl.conf describing the context
Title: Re: run YATE on windows with sip/rtp ssl encription (question)
Post by: popovn on May 21, 2013, 07:35:26 AM
Thank you.

I fogot to uncomment " [server_context]" - its my original mistake :)

Thank you very much.