# 2 Server Asterisk TLS

**URL:** <https://community.asterisk.org/t/2-server-asterisk-tls/91268>\
**Category:** Asterisk Support\
**Created:** [January 15, 2022, 10:50pm UTC](https://community.asterisk.org/t/2-server-asterisk-tls/91268 "2022-01-15T22:50:45Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![s.abdelkarim](https://avatars.discourse-cdn.com/v4/letter/s/a5b964/32.png) [@s.abdelkarim](https://community.asterisk.org/u/s.abdelkarim)\
**Post date:** [January 17, 2022, 10:00pm UTC](https://community.asterisk.org/t/2-server-asterisk-tls/91268/21 "2022-01-17T22:00:25Z")

</div>

Well, my last question it can help me to move on, i know that self signed certificate need to be in both primary and secondary machine (public key) i understand that, my question is after i generate self signed certificate how do i manage ‘‘pjsip.conf’’ ? i mean for exemple

[transport-tls]  
type=transport  
protocol=tls  
bind=0.0.0.0:5061  
cert\_file=/etc/asterisk/keys/asterisk.crt  
priv\_key\_file=/etc/asterisk/keys/asterisk.key  
method=sslv23

i copy asterisk.crt which is public key from the primary to the secondary machine if i’m not wrong that’s all? in term of certificate or there is more to do? if yes i need to know how to manage that thanks

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [February 16, 2022, 10:00pm UTC](https://community.asterisk.org/t/2-server-asterisk-tls/91268/22 "2022-02-16T22:00:36Z")

</div>

Closed on February 16, 2022, 10:00pm UTC

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

[Previous page](https://community.asterisk.org/t/2-server-asterisk-tls/91268.md?page=1)
