Fast-android-networking: SSL Verification

Created on 4 Apr 2017  路  12Comments  路  Source: amitshekhariitbhu/Fast-Android-Networking

How to dissaple SSL verification

question

Most helpful comment

All 12 comments

Refer this as of now, may we can add this as a feature in new release.
http://stackoverflow.com/questions/25509296/trusting-all-certificates-with-okhttp

where should I add this method please?

Thanks Amitshekhariitbhu. Keep going!

@amitshekhariitbhu , Appreciate your effort done so far for this awesome library.

I have one question for you: What I have to do for enabling SSL verification(.p12 certification) for HTTPS request?

Please let me know for the same.

Thanks.

@hirenpatelazilen Thanks. By default, it is enabled. but for customization refer this link

@amitshekhariitbhu , Thanks for your prompt response.

I am using your compile 'com.amitshekhar.android:rx2-android-networking:1.0.0'. So for SSL do I need to use AndroidNetworking class for okHttp? or Rx2AndroidNetworking class has initialisation method same as AndroidNetworking class?

Thanks

@hirenpatelazilen use the same AndroidNetworking for that also.

Thanks
Amit Shekhar

So for setting SSL I need to user AndroidNetworking and for API calling I need to use Rx2AndroidNetworking. Can you please correct me if I wrong?

Thanks

@hirenpatelazilen You are correct. Initialization point is single that is AndroidNetworking

Ok thanks @amitshekhariitbhu .

@amitshekhariitbhu, Need one help from you.

I am using p12 certificate, now I am not using AndroidNetworking.initialize(this, client); even though its working fine.

How it's possible that https can work without p12 certificate. If I use HttpClient (Old pattern) than it must required to use p12 certificate.

I am confused here so can you please help me on this?

Regards,
Hiren Patel

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MxNINJA picture MxNINJA  路  3Comments

alitong picture alitong  路  8Comments

ahaneef29 picture ahaneef29  路  7Comments

SunryTeang picture SunryTeang  路  4Comments

bryant1410 picture bryant1410  路  9Comments