Recently our office just installed Asterisk on two servers. We supply support for PBX setup in our area and peer with other Asterisk-based deployments. We have set up our servers to use IAX2 to trunk between servers.
I have a connection that I have encrypted and set up for testing. The link is up and the servers can communicate over the IAX2 trunk using MD5 authentication. Now I want to upgrade these keys to RSA keys.
I followed this guide: https://www.voip-info.org/wiki/view/Asterisk+iax+rsa+auth and was able to create public and private keys. I have put all of my keys in the /var/lib/asterisk/keys/ directory and gave asterisk:asterisk the permissions to use the files. I log into Asterisk and run the “keys init” command followed by “keys show” and nothing is listed. Where do I need to put the keys?