rlalfo / google-http-java-client

Automatically exported from code.google.com/p/google-http-java-client
0 stars 0 forks source link

TrustAllSSLSocketFactory, NoSuchAlgorithmException #209

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Version of google-http-java-client (e.g. 1.5.0-beta)?
1.13.1-beta

Java environment (e.g. Java 6, Android 2.3, App Engine)?
Android 2.1

Describe the problem.
When I execute method: doNotValidateCertificate() for 
ApacheHttpTransport.Builder, then I catch exception:
NoSuchAlgorithmException: “SSLContext SSL implementation not found”

How would you expect it to be fixed?
If SSL implementation not found, try to use TLS implementation.

I fixed this by own class TrustAllSSLSocketFactory with SSL/TLS protocol.
But, you can fix this in the library too.

Original issue reported on code.google.com by omi...@gmail.com on 20 Mar 2013 at 10:43

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 15 Aug 2013 at 11:48

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 27 Sep 2013 at 11:56