Webrtc - problem

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:


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

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

Hello, which one did you rename?


You can/should always check if Asterisk really listens on that port, and that it respond to connections to that port. You can use openssl for that, like this:

openssl s_client -connect IP_ASTERISK:8089