Askozia Forums
May 17, 2012, 02:41:53 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Wrong RSA Keys path  (Read 854 times)
giovanni.v
Hero Member
*****

Karma: 53
Posts: 670


View Profile
« on: January 07, 2011, 03:07:15 pm »

The RSA Keys path in asterisk.conf is wrong, now it is:
astkeydir => /etc/asterisk/keys

 Angry A strange logic exists in the asterisk code so using the value above the directory expected will be /etc/asterisk/keys/keys... but key files are in the literal path.
So it must be:
astkeydir => /etc/asterisk

Users that needs RSA auth keys for any reason can append this re-configuration piece to asterisk.conf via the developer panel:
[directories](+)
astkeydir => /etc/asterisk


Also a module needed for keys handling isn't loaded in the default configuration, until a future version that fixes that issue will be released you can append this to modules.conf if auth via rsa keys for iax providers is needed:
load => res_crypto.so
A reboot is suggested, sometimes "keys init" or reloading asterisk won't work.

Both fixed in svn a few minutes ago.
« Last Edit: January 07, 2011, 04:05:10 pm by giovanni.v » Logged
Michael
Askozia Staff
Hero Member
*

Karma: 49
Posts: 1020


View Profile
« Reply #1 on: January 14, 2011, 10:47:40 am »

Thanks for spotting and fixing this. I will merge it into the upcoming 2.0.4 as well.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.064 seconds with 18 queries.