Asterisk 18 + TLS

Hi,

We are trying register zoiper end point with tls transport on “pjsip”.

I used a certificate free and non free

my conf transport

[transport-tls]
type=transport
protocol=tls
bind=0.0.0.0:5061
cert_file=/home/fullchain2.pem
priv_key_file=/home/privkey2.pem
cipher=ECDHE-ECDSA-AES256-SHA,ECDHE-RSA-AES256-SHA,DHE-RSA-AES256-SHA,ECDHE-ECDSA-AES128-SHA,ECDHE-RSA-AES128-SHA,DHE-RSA-AES128-SHA,AES256-SHA,AES128-SHA
method=tlsv1_2

When we try send invite we recive this messages:

Connected to Asterisk 18.18.0 currently running on localhost (pid = 1624)
localhost*CLI> core set verbose 10
Console verbose was OFF and is now 10.

[Jun 2 10:20:33] ERROR[1650]: pjproject: <?>: ssl0x7f134000a900 Error reading CA certificates from buffer [Jun 2 10:20:33] WARNING[1650]: pjproject: <?>: SSL SSL_ERROR_SSL (Handshake): Level: 0 err: <167772418> <error:0A000102:SSL routines::unsupported protocol> len: 0 peer: 192.168.1.105:55558
[Jun 2 10:20:33] WARNING[1650]: pjproject: <?>: SSL SSL_ERROR_SSL (Handshake): Level: 0 err: <167772427> <error:0A00010B:SSL routines::wrong version number> len: 0 peer: 192.168.1.105:55566
localhost*CLI>

Asterisk 18 + Oracle Linux 9

What happen?

Please show us the output of “ls -al /etc/asterisk/keys”

Antony.

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