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.验证

 

 

 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM