[OpenSIPS-Users] tls error what does this mean

Alexander Jankowsky E75A4669 at exemail.com.au
Fri May 12 10:40:05 EDT 2017


 

Set me thinking and searching, alright and thankyou, the phone has registered.

What worked and what I had misunderstood was to open the certificate itself

in a text editor and pick out what was already prepared inside the certificate.

 

I was mistakenly re-encoding the certificate.pem entire itself into base64 and

doing a cut and paste into a format for the phone. This was the resultant error.

 

Alex

 

From: Users [mailto:users-bounces at lists.opensips.org] On Behalf Of Razvan Crainea
Sent: Friday, 12 May 2017 7:20 PM
To: users at lists.opensips.org
Subject: Re: [OpenSIPS-Users] tls error what does this mean

 

Hi, Alex!

Did you specify a certificate in your opensips configuration? Can you connect to OpenSIPS with openssl[1]?

[1] https://www.opensips.org/Documentation/Tutorials-TLS-2-1#toc13

Best regards,



Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com <http://www.opensips-solutions.com> 

On 05/12/2017 12:45 PM, Alexander Jankowsky wrote:

Hello,

 

I am trying to register a phone through tls into opensips 2.3 stable.

I am stuck here...

 

This from the remote phone which has no certificate or key loaded at present.

ERROR:proto_tls:tls_accept: New TLS connection from 111.111.111.111:11111 failed to accept

ERROR:proto_tls:tls_print_errstack: TLS errstack: error:140890B2:SSL routines:SSL3_GET_CLIENT_CERTIFICATE:no certificate returned

ERROR:proto_tls:tls_read_req: failed to do pre-tls reading

INFO:core:probe_max_sock_buff: using snd buffer of 416 kb

 

This is from the local phone which does have a certificate and its private key loaded.

INFO:core:init_sock_keepalive: TCP keepalive enabled on socket 63

ERROR:proto_tls:tls_accept: New TLS connection from 222.222.222.222:22222 failed to accept

ERROR:proto_tls:tls_print_errstack: TLS errstack: error:140890C7:SSL routines:SSL3_GET_CLIENT_CERTIFICATE:peer did not return a certificate

ERROR:proto_tls:tls_read_req: failed to do pre-tls reading

INFO:core:probe_max_sock_buff: using snd buffer of 416 kb

 

Is it obvious what I should be doing here or what I should try next?

 

Alex

 

 






_______________________________________________
Users mailing list
Users at lists.opensips.org <mailto:Users at lists.opensips.org> 
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170513/f4b06fca/attachment-0001.html>


More information about the Users mailing list