# Pjsip ssl method

**URL:** <https://community.asterisk.org/t/pjsip-ssl-method/94571>\
**Category:** Asterisk SIP\
**Created:** [November 2, 2022, 7:35am UTC](https://community.asterisk.org/t/pjsip-ssl-method/94571 "2022-11-02T07:35:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Serp](https://avatars.discourse-cdn.com/v4/letter/s/aeb1de/32.png) [@Serp](https://community.asterisk.org/u/Serp)\
**Post date:** [November 2, 2022, 7:35am UTC](https://community.asterisk.org/t/pjsip-ssl-method/94571/1 "2022-11-02T07:35:49Z")

</div>

Hello.  
We use Asterisk 16 and have many TLS pjsip connections. When setting ssl method to tlsv1.2 in pjsip transport config, some obsolete hard phones cannot register with error in the log:  
“WARNING[26644] pjproject: SSL SSL\_ERROR\_SSL (Handshake): Level: 0 err: \<336027900\> \<SSL routines-SSL23\_GET\_CLIENT\_HELLO-unknown protocol len: 0 peer: 1.2.3.4:44392”

In other side, when ssl method set to default value (tlsv1.0) all phones are registered, but we don’t want to apply this method with its obsolete crypto suites for modern phones because of security reasons.  
Is it possible to configure Asterisk ssl settings to use tlsv1.2, but provide availability for old crypto suites as well?

---

<div class="post-metadata">

**Author:** ![Serp](https://avatars.discourse-cdn.com/v4/letter/s/aeb1de/32.png) [@Serp](https://community.asterisk.org/u/Serp)\
**Post date:** [November 2, 2022, 4:38pm UTC](https://community.asterisk.org/t/pjsip-ssl-method/94571/2 "2022-11-02T16:38:35Z")

</div>

No idea at all? pjsip doesn’t support backward compatibility of crypto suites?

---

<div class="post-metadata">

**Author:** ![flole](https://avatars.discourse-cdn.com/v4/letter/f/bcef8e/32.png) [@flole](https://community.asterisk.org/u/flole)\
**Post date:** [November 2, 2022, 7:34pm UTC](https://community.asterisk.org/t/pjsip-ssl-method/94571/3 "2022-11-02T19:34:40Z")

</div>

I’ve done some research on this a while ago and apparently it is not possible at the moment.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [December 2, 2022, 7:35pm UTC](https://community.asterisk.org/t/pjsip-ssl-method/94571/4 "2022-12-02T19:35:05Z")

</div>

Closed on December 2, 2022, 7:35pm UTC

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