Configure TLS AND SRTP on alma 9 and asterisk-21.4.2

Hello, good afternoon, I need your help. Does anyone know how to configure TLS and SRTP certificates for asterisk-21.4.2 for an Alma 9.4 operating system? If you have a manual or step by step to configure it, I would appreciate it.

The steps are really the same for all recent asterisk versions and most Linux distros. The first question is though… do you already have your certificate, key and CA certificate or certificate chain? The second question is… is it issued by a well-known certificate authority or self signed?

Oh also… are you planning on using SDES or DTLS for media encryption?

he
The problem that I have looked for everywhere but I have not been able to encrypt the users’ password and it does not take my certificates either, I ask the question because the issue of certifications or encryption is to carry out a laboratory since they need to migrate from operating system to from centos 7 that has already lost support for alma 9 or 8 that is why I am carrying out the tests,

If you have the step by step or the packages that have to be installed, I would appreciate it.

Ícono de validado por la comunidad

Well, Almalinux also uses yum and has the same package naming convention as CentOS. Assuming you’re building asterisk from source, you can unpack the asterisk tarball and run ./contrib/scripts/install_prereq test and it will give you a yum command to install almost everything you need. If you run ./contrib/scripts/install_prereq install it’ll do the install for you. Bear in mind that some packages don’t exist for Alma or have slightly different names so you’ll have to install those manually. At a minimum you’ll also need the diffutils and git packages.

Unfortunately, there’s no good libsrtp package for Alma so you’ll have to download and build it yourself. You can get it from GitHub - cisco/libsrtp: Library for SRTP (Secure Realtime Transport Protocol).

Once you have that set up and can confirm you can build and install asterisk, the rest of the configuration depends on the questions I asked above.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.