Hello janusers,
I have a janus server(sip plugin) configured on HTTPS(using openssl) and working successfully. Now I am trying to deploy a Ha-proxy in front of my Janus and facing some issues while configuring the same. Can someone help me out on this please?
Below is my haproxy config code :
frontend website
bind *:8089 ssl cert /etc/ssl/certs/mydomain.crt
default_backend app-main
backend app-main
balance roundrobin
redirect scheme https if !{ ssl_fc }
acl p_root path -i /janus
In my siptest.js, I have given my haproxy IP (https://192.168.1.28:8089) in place of janus server IP.
After doing above changes, I tried opening the demo pages, once i click the start button it is prompting below error on browser console.
In haproxy logs I found the handshake failue error.
Note: The certificate which is mentioned in haproxy config is a openssl cert created locally.
Am I missing something? How to get a valid cert on to haproxy?