SSL Error:Peer not authenticated

We are calling zoom endpoint https://api.zoom.us/v2/users/{username}/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.

@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

@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

@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