# NET+OS naSslNgConnect issue

**URL:** <https://forums.digi.com/t/net-os-nasslngconnect-issue/20053>\
**Category:** NET+OS\
**Tags:** ssl\
**Created:** [November 27, 2018, 9:36am UTC](https://forums.digi.com/t/net-os-nasslngconnect-issue/20053 "2018-11-27T09:36:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gavello](https://avatars.discourse-cdn.com/v4/letter/g/ccd318/32.png) [@gavello](https://forums.digi.com/u/gavello)\
**Post date:** [November 27, 2018, 9:36am UTC](https://forums.digi.com/t/net-os-nasslngconnect-issue/20053/1 "2018-11-27T09:36:13Z")

</div>

I’m using a 9210  
my task is to open an SSL socket using the NET+OS 752

I get an SSL\_STATUS\_HANDSHAKE\_FAILED  
when naSslSetCertVerify is set to SSL\_CERTIFICATE\_VERIFY\_PEER.  
The defined NaSslCertVerifyCb\_t function is never called.

if set to SSL\_CERTIFICATE\_VERIFY\_NONE the connection is established as expected.

in the naSslCreateCertDb the CA certificate is succesfully added…

any idea?

---

<div class="post-metadata">

**Author:** ![LeonidM](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LeonidM](https://forums.digi.com/u/LeonidM)\
**Post date:** [December 12, 2018, 9:57am UTC](https://forums.digi.com/t/net-os-nasslngconnect-issue/20053/2 "2018-12-12T09:57:04Z")

</div>

can you test your connection using OpenSSL on the host side and one of the sample applications like naopenssl client on the target? This combination is proven to work using password or certificate authentication
