TLS and SRTP

Hello guys, I have tried so many times to setup my Asterisk with TLS and SRTP.
It dont want work!!!

MY SERVER:

  • Ubuntu Server 11.10
  • I have installed
  1. for TLS --> libssl-dev and http://www.openssl.org/source/openssl-1.0.1c.tar.gz with .md5 as well
  2. for SRTP --> libsrtp0-dev and http://srtp.sourceforge.net/srtp-1.4.2.tgz
  3. ASTERISK --> I’ve downloaded the package asterisk-1.8.15.0
    … with make menuselect I’ve checked wether [color=#008000][*]res_srtp[/color] is successful installed. And it was. :smile:
    … Then I’ve configured my Asterisk with $sudo ./configure --with-ssl

Ok, my Server is ready!!

I’ve used this tutorial for configuring secure calling from Digium: https://wiki.asterisk.org/wiki/display/AST/Secure+Calling+Tutorial

SIP.CONF

[general]
port=5061
tlsbindaddr=0.0.0.0
tlsenable=yes
tlscertfile=/etc/asterisk/keys/asterisk.pem
tlscafile=/etc/asterisk/keys/ca.crt
tlscipher=ALL
tlsclientmethod=tlsv1

[2000]
type=friend
secret=12345
host=dynamic
transport=tls
encryption=yes

[3000]
type=friend
secret=67890
host=dynamic
transport=tls
encryption=yes

EXTENSIONS.CONF

[default]
exten => 2000,1,Dial(SIP/2000)
exten => 3000,1,Dial(SIP/3000)

I have tested like the tutorial the software BLINK (on MacOS) -> does not work!
Jitsi on MacOS --> does not work (I mean, I can´t select there the types .pem and .crt !!!

Can anybody give me a help?
I just want to use the two Clients and the Server in the same local network.

Thanks a lot guys.