Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

OAuth2Handler: ForceTrustSSLCertificate is not implemented in "_renewToken" #318

Closed
AndreasNebel opened this issue Jul 19, 2013 · 3 comments

Comments

@AndreasNebel
Copy link

The forceTrustSSLCertificate is not implemented in all places.

I get a "javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated" exception at the internal method "protected AccessToken _renewToken(AccessToken token)".

This code is missing there

if(forceTrustSSLCertificate)
  client = (DefaultHttpClient)SSLUtil.wrapHttpClient((DefaultHttpClient)client);
@VimalDhupar
Copy link
Contributor

Fixed.

@markewallace
Copy link
Contributor

Andreas, thanks for the feedback. We have a couple of your issues fixed and we'll be fixing the remaining ones early next week. We are also planning an SDK release at the end of next week so you'll be able to pick up a new build from OpenNTF with these fixes then.

@AndreasNebel
Copy link
Author

Thx Marke.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants