I created an OpenID provider in nodejs for SSO in my application. My application is written in play framework 2.2.1 and for some reason when I try to connect to my provider with the given api in play it gives me this error : "ConnectException: GeneralSSL Exception".
My code :
Promise<String> prs = null;
Try {
prs = OpenID.redirectURL(openid url, comeback url);
} catch(Exception e) {
e.printStackTrace();
}
return redirect(prs.get());
I am using in my provider with a pfx file for ssl. The certificate was signed by a CA I trust.
Thanks!
P.S. If anyone can edit my code to a code block it would be great! Im posting this through my phone..