cmplx96
cmplx96

Reputation: 1661

android - okhttp3 - ssl connection to server

I am sending GET and POST requests to my server using the OkHttpClient (okhttp3).

How can I secure the connection with SSL and identify myself with a self signed certificate?

Thanks!

Upvotes: 1

Views: 706

Answers (1)

Janmejoy
Janmejoy

Reputation: 2731

For Self signed SSL certs check here. The link contains code samples to add self signed SLL to Android.

Self Cert using okhttp3 , Check here

Hope this may help you.

Upvotes: 1

Related Questions