Answer the question
In order to leave comments, you need to log in
How to properly set up a certificate for Asterisk to work on CentOS?
I'm trying to build a WebRTC connection to an Asterisk server.
I have Asterisk 13.19 on CentOS which works fine through SIP clients. I made the settings according to the manual:
wiki.asterisk.org
As a result, when I try to connect, I get an error:
ERROR[5435]: tcptls.c:695 handle_tcptls_connection: Problem setting up ssl connection: error:00000005:lib(0):func(0):DH lib, System call EOF
WARNING[5435]: tcptls.c:782 handle_tcptls_connection: FILE * open failed!
openssl s_client -connect xxx.xxx.xxx.xxx:8089 -bugs
CONNECTED(00000003)
depth=0 CN = xxx.xxx.xxx.xxx:, O = ООО
verify error:num=20:unable to get local issuer certificate
verify return:1
depth=0 CN = xxx.xxx.xxx.xxx:, O = ООО
verify error:num=21:unable to verify the first certificate
verify return:1
Answer the question
In order to leave comments, you need to log in
There was just recently a discussion about this issue. A self-signed certificate that fails validation. To pass validation, you need one of two things:
- place the certificate in the store (usually /etc/ssl/certs, but for example in centos in /etc/pki/tls/certs) and create a special link to it:
- get a certificate from the world CA (for money, but you can try LE)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question