# SSL Error:Peer not authenticated

**URL:** <https://devforum.zoom.us/t/ssl-error-peer-not-authenticated/81160>\
**Category:** Meetings\
**Tags:** api\
**Created:** [January 9, 2023, 3:31pm UTC](https://devforum.zoom.us/t/ssl-error-peer-not-authenticated/81160 "2023-01-09T15:31:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rcp](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@rcp](https://devforum.zoom.us/u/rcp)\
**Post date:** [January 9, 2023, 3:31pm UTC](https://devforum.zoom.us/t/ssl-error-peer-not-authenticated/81160/1 "2023-01-09T15:31:19Z")

</div>

We are calling zoom endpoint [https://api.zoom.us/v2/users/{username}/meetings](https://api.zoom.us/v2/users/%7Busername%7D/meetings) from our java application.We are getting exception  
peer not authenticated; nested exception is javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated  
We are using open JDK 11.0.2 version.

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [January 9, 2023, 4:09pm UTC](https://devforum.zoom.us/t/ssl-error-peer-not-authenticated/81160/2 "2023-01-09T16:09:37Z")

</div>

@rcp Hope you will be fine.

You need to enable all tls, tls1, and tls2 as I am sharing the C# snnipet but in Java I think it is in java.security

`System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;`

If any queries still please share. Thanks

---

<div class="post-metadata">

**Author:** ![rcp](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@rcp](https://devforum.zoom.us/u/rcp)\
**Post date:** [January 10, 2023, 12:30pm UTC](https://devforum.zoom.us/t/ssl-error-peer-not-authenticated/81160/3 "2023-01-10T12:30:45Z")

</div>

@freelancer.nak mu java.security file looks like this jdk.tls.disabledAlgorithms=SSLv3, RC4, DES, MD5withRSA, DH keySize \< 1024,   
EC keySize \< 224, 3DES\_EDE\_CBC, anon, NULL tls is not disabled

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [January 10, 2023, 12:32pm UTC](https://devforum.zoom.us/t/ssl-error-peer-not-authenticated/81160/4 "2023-01-10T12:32:33Z")

</div>

@rcp OK, I don’t know java well but you need to enable tls, tls1, and tls2 as in the above C# snippet and then try a test.

Thanks
