My code was working fine with out any exception, i recently connected to a server , in my code i just changed the server host name, username and password. i got the following exception
javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: Certificates does not conform to algorithm constraints
When i googled , i found that we have to change the file Java\jre7\lib\security\java.security
i referred this link click here.
But if we develop a client application this solution is not good enough. Is there any better way to resolve this problem.
Any help is appreciable