TLS Issue

Status
Not open for further replies.

glennbtn

Member
Aug 7, 2018
61
1
8
53
Hi All

I am trying to get TLS up and running on a multi domain server. The server has a valid commercial wildcard certificate up an running in Nginx which works fine.

I have done the following to get it up and running in the TLS folder

Code:
cat /etc/ssl/certs/ssl.crt > /etc/freeswitch/tls/all.pem
cat /etc/ssl/private/mykey.key >> /etc/freeswitch/tls/all.pem

ln -s /etc/freeswitch/tls/all.pem /etc/freeswitch/tls/agent.pem
ln -s /etc/freeswitch/tls/all.pem /etc/freeswitch/tls/tls.pem
ln -s /etc/freeswitch/tls/all.pem /etc/freeswitch/tls/wss.pem
ln -s /etc/freeswitch/tls/all.pem /etc/freeswitch/tls/dtls-srtp.pem
chown -R www-data:www-data /etc/freeswitch/tls

Change the variable internal_ssl_enable to true

When I try to get it up and running though I get the following error is fs_cli


[ERR] sofia.c:3311 Error Creating SIP UA for profile: internal (sip:mod_sofia@ipaddress:5060;maddr=ipaddress;transport=udp,tcp). Bad WSS.PEM certificate.

Can anyone advise please
 
Status
Not open for further replies.