So I have been trying to implement TLS and SRTP on my FreePBX 6.12.65-27. I am using Cisco SPA525G2 endpoints and have followed the guides from multiple sites to try to get it working. I used:
I have gone through the steps from the guides and I am getting the error below when I try to apply the config:
Please update your modules and reload Asterisk by browsing to your server.
PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Permissions error on file /etc/asterisk/keys/asterisk.pem - please re-run as root to automatically repair’ in /var/www/html/admin/libraries/BMO/PKCS.class.php:643
#0 /var/www/html/admin/libraries/BMO/PKCS.class.php(52): PKCS->checkPermissions()
#1 [internal function]: PKCS->__destruct()
thrown in /var/www/html/admin/libraries/BMO/PKCS.class.php on line 643
I am not a Linux guy so I am not sure what to do to get this issue resolved. I haven’t even started on the SRTP part, because the TLS is what is giving me the error. Any help with this would be greatly appreciated. Or, if anyone knows of an updated guide on settings this up that I have failed to locate using Google, that would also be appreciated.