Hi there folks,
I’ve been trying to configure TLS in our system but keep getting this error:
pjproject:0 <?>: SSL SSL_ERROR_SSL (Handshake): Level: 0 err: <336109761> len: 0
I have created the 2 transports:
dev1*CLI> pjsip show transports
Transport: <TransportId…> <BindAddress…>
Transport: transport-tls tls 0 0 0.0.0.0:17061
Transport: transport-udp udp 0 0 0.0.0.0:17060
In the table ps_transports:
id: transport-tls
async_operations: NULL
bind: 0.0.0.0:17061
ca_list_file: /var/lib/asterisk/keys/ca.crt
cert_file: /var/lib/asterisk/keys/asterisk.crt
cipher: ECDHE-RSA-AES256-GCM-SHA384,ECDHE-ECDSA-AES256-GCM-SHA384,ECDHE-RSA-AES256-SHA384,ECDHE-ECDSA-AES256-SHA384,DHE-DSS-AES256-GCM-SHA384,DHE-RSA-AES256-GCM-SHA384,DHE-RSA-AES256-SHA256,DHE-DSS-AES256-SHA256,ECDH-RSA-AES256-GCM-SHA384,ECDH-ECDSA-AES256-GCM-SHA384,ECDH-RSA-AES256-SHA384,ECDH-ECDSA-AES256-SHA384,AES256-GCM-SHA384,AES256-SHA256,ECDHE-RSA-AES128-GCM-SHA256,ECDHE-ECDSA-AES128-GCM-SHA256,ECDHE-RSA-AES128-SHA256,ECDHE-ECDSA-AES128-SHA256,DHE-DSS-AES128-GCM-SHA256,DHE-RSA-AES128-GCM-SHA256,DHE-RSA-AES128-SHA256,DHE-DSS-AES128-SHA256,ECDH-RSA-AES128-GCM-SHA256,ECDH-ECDSA-AES128-GCM-SHA256,ECDH-RSA-AES128-SHA256,ECDH-ECDSA-AES128-SHA256,AES128-GCM-SHA256,AES128-SHA256
…
external_signaling_port: 17061
method: tlsv1
…
password: NULL
priv_key_file: /var/lib/asterisk/keys/asterisk.key
protocol: tls
require_client_cert: no
verify_client: NULL
verify_server: NULL
tos: NULL
cos: NULL
allow_reload: yes
symmetric_transport: NULL
In the table ps_endpoints:
id: 200
transport: transport-tls
I generated my certs using the secure calling tutorial and the openssl version I have is OpenSSL 1.0.1t 3 May 2016.
I have tried to register using grandstream as well as yealink terminals but keep getting the same error.
Any help is appreciated.