Author Topic: run YATE on windows with sip/rtp ssl encription (question)  (Read 9616 times)

popovn

  • Newbie
  • *
  • Posts: 4
    • View Profile
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/ <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.





marian

  • Hero Member
  • *****
  • Posts: 513
    • View Profile
Re: run YATE on windows with sip/rtp ssl encription (question)
« Reply #1 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

popovn

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: run YATE on windows with sip/rtp ssl encription (question)
« Reply #2 on: May 21, 2013, 07:35:26 AM »
Thank you.

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

Thank you very much.
« Last Edit: May 21, 2013, 07:48:16 AM by popovn »