Hi @prakashmani,
This Stackoverflow topic might help here. To pull a quote from it:
Assuming the server certificate is signed by a well-known CA, this is happeningbecause the set of CA certificates available to a modern browser is much largerthan the limited set that is shipped with the JDK/JRE.