what is DH keypair exception and how to resolve that

174 Views Asked by At

I am getting following exception javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair
Background: I have a java desktop application where I do login with facebook. I have used HttpServer in my code to get the response from facebook. So, when I was trying to login with face book app was giving SSLHandshake exception. So, I generated jssecacerts using InstallCert.java and put the 'jssecacerts' file in the /lib/security. So, now when I'm trying to login with facebook I am getting this exception: javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair

why it is happening and how to resolve it? do I need to do something in the HttpServer instance that I have used to get the response from the facebook?

0

There are 0 best solutions below