# TLS: how to disable {fail\_if\_no\_peer\_cert,true} when starting a node

**URL:** <https://erlangforums.com/t/tls-how-to-disable-fail-if-no-peer-cert-true-when-starting-a-node/1801>\
**Category:** Questions / Help\
**Tags:** ssl, tls\
**Created:** [August 31, 2022, 9:30am UTC](https://erlangforums.com/t/tls-how-to-disable-fail-if-no-peer-cert-true-when-starting-a-node/1801 "2022-08-31T09:30:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zabrane](https://erlangforums.com/letter_avatar_proxy/v4/letter/z/7ba0ec/32.png) [@zabrane](https://erlangforums.com/u/zabrane)\
**Post date:** [August 31, 2022, 9:30am UTC](https://erlangforums.com/t/tls-how-to-disable-fail-if-no-peer-cert-true-when-starting-a-node/1801/1 "2022-08-31T09:30:10Z")

</div>

I’m using the Erlang `ssl` module as a client to connect to a remote SSL server (not under my control) and getting this:

```erlang
{badmatch,{error,{options,incompatible,{verify,verify_none},{fail_if_no_peer_cert,true}}}}

```

I’m using:

```erlang
Erlang 24.3.4.4
Linux CentOS 7

```

Thanks

---

<div class="post-metadata">

**Author:** ![Kwisatx](https://erlangforums.com/user_avatar/erlangforums.com/kwisatx/32/1352_2.png) [@Kwisatx](https://erlangforums.com/u/Kwisatx)\
**Post date:** [September 1, 2022, 7:19am UTC](https://erlangforums.com/t/tls-how-to-disable-fail-if-no-peer-cert-true-when-starting-a-node/1801/2 "2022-09-01T07:19:13Z")

</div>

Hello,

`{verify, verify_none}` and `{fail_if_no_peer_cert,true}` are incompatible (as the error says).  
There’s an explanation here: [ERL-1394: SSL Options &nbsp;{verify, verify\_none} in rabbitMQ v3.8.x · Issue #4279 · erlang/otp · GitHub](https://github.com/erlang/otp/issues/4279)
