Answer the question
In order to leave comments, you need to log in
Freeswitch: SSL/TLS only works as root. How to fix?
I continue to master Freeswitch.
System: Ubuntu Server 12.10 32bit.
After enabling SSL/TLS, profiles stop loading if Freeswitch is not started as root. If run as root, everything works.
The rights to certificates and keys are correct (tried also 777).
Installed like this:
git clone git://git.freeswitch.org/freeswitch.git freeswitch
cd freeswitch
./bootstrap.sh
./configure
make all install uhd-sounds-install uhd-moh-install samples
Answer the question
In order to leave comments, you need to log in
Check which port is being used.
If the port is up to 1024, then root is required.
Find in the settings how to change the port and set it to any port above 1025.
You need to look at the permissions on the files in the db folder.
After starting from under root, some files could be created under it and are not available for reading by other users.
This often happens due to file access issues.
To catch where the problem is, use strace
This utility allows you to run a process as a user and output to a file everything that the process tries to open. Plus write it turned out or not, and if not, why. Managed to solve the same problem in freeswitch.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question