2 Server Asterisk TLS

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