freeswitch 配置wss访问
1.获取证书
阿里云或者其他地方获取
2.编辑配置
文件路径:/usr/local/freeswitch/conf/sip_profile/internal/xml 新增
<param name="tls-cert-dir" value="/usr/local/freeswitch/certs"/> <param name="wss-binding" value=":7443"/>
3.替换证书
文件路径:/usr/local/freeswitch/certs/wss.pem
cat cert.pem >> /etc/freeswitch/certs/wss.pem
cat privkey.pem >> /etc/freeswitch/certs/wss.pem
5.赋权限
chown freeswitch:daemon wss.pem
4.重启fs
systemctl restart freeswitch
5.验证