Asterisk vicidial WebRTC phone cannot connect

VicidialOn the newly installed Vicidial box I got problem connecting WebRTC phone to Asterisk.

I followed the setup guide here

In the Asterisk console I saw:

Problem setting up ssl connection: error:00000001:lib(0):func(0):reason(1), Internal SSL error
 ERROR[2203]: tcptls.c:179 handle_tcptls_connection: Unable to set up ssl connection with peer ‘22.22.48.22:48756’
[Jan 17 11:46:42] ERROR[2203]: iostream.c:552 ast_iostream_close: SSL_shutdown() failed: error:00000001:lib(0):func(0):reason(1), Internal SSL error

It’s definitely something with TLS setup or certificate validity.

So I went to

https://viciboxip:8089/ in a browser to check the certificate and found that it used old self-signed certificate.

and Letsencrypt certificate was picked up and the problem was resolved.

Good luck

Want me to do this for you? Drop me a line: itgalaxyzzz {at} gmail [dot] com