Configuring asterisk to use a certificate generated by peer

Hi
How can i configure asterisk to use and accept a certificate created by a peer? The guide shows how to create the key, certificate on the asterisk server and load it into the client so that the client can send encrypted calls to the asterisk server.

One of our providers needs us to use their certificate. Is it possible?
thank you

Unfortunately, most people using encryption probably just use the recipe.

I haven’t used it, but I suspect some step in the recipe saves the generated certificate somewhere, and you need to replace that with the externally generated one.

It looks like you need to look at the tlscafile option (and tlscertfile). The signing certificate probably goes in the former and the certificate for your Asterisk box in the latter.