N
N
nemoforum2013-03-12 11:34:08
Asterisk
nemoforum, 2013-03-12 11:34:08

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

and using a script from Fusionpbx.
What could be the problem?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Z
Zerstoren, 2013-03-12
@Zerstoren

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.

E
Evgeny Demchenko, 2014-09-20
@goldix

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.

G
grender, 2015-12-29
@grender

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 question

Ask a Question

731 491 924 answers to any question