I followed the Freeswitch wiki for enabling tls & srtp on Freeswitch. I have it enabled on my internal and external profiles and both profiles are starting up just fine.
I can review my certificate details with the command:
openssl x509 -noout -inform pem -text -in /usr/local/freeswitch/conf/ssl/agent.pem
I am not at this section of the wiki where it says the clients should have at least the CA root certificate.
Clients should all have at least the CA root certificate installed onto them in order to ensure security. Without enabling chain verification (that the server certificate was issued by the approved CA) a MITM attack is possible
against a client. The CA certificate is the conf/ssl/cafile.pem it contains only a certificate and clients use it to ensure the server certificate is issued by the CA.
Where I am stuck is understanding how to export or download the cacert.pem from the server? I seem to don’t understand the process or tools to use and I can’t seem to access /usr/local/freeswitch/conf/ssl directory or the /usr/local/freeswitch/conf/ssl/CA
from root.
Any help is appreciated.