Webrtc - problem


#1

Hello, Im tried use webrtc protocol with asterisk 15.4.1, but I have some problems:

I Have SSL in my Apache2 Ok Valid.

When I try connect my client WEBWTC, 'wss://IP_ASTERISK:8089/ws, I receive this error in Browser: failed: Error in connection establishment: net::ERR_CERT_AUTHORITY_INVALID

and this error in Asterisk console:
iostream.c:205 iostream_read: TLS non-recoverable I/O error occurred: error:00000005:lib(0):func(0):DH lib, System call EOF

my http.conf is:

[general]
enabled=yes
bindaddr=0.0.0.0
bindport=8088
tlsenable=yes
tlsbindaddr=0.0.0.0:8089
tlscertfile=/etc/asterisk/keys/asterisk.pem


#2

All the Asterisk side is telling you is that the client dropped the connection without warning.


#3

I found the problem, I think asterisk can work only with pem certificates, because after convert my certificate crt to pem works