文件路径:/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