I have a server with https with self signed certificate and client application on Android. On client i just disable certificate verification with
urlConnection.setHostnameVerifier(new AllowAllHostnameVerifier());
In this case connection will be secure or this is just disable https and makes connection over http?
I have a server with https with self signed certificate and client application on
Share
As long as the URL you open starts with
https://, the connection will be secure. However, you will be vulnerable to Man-in-the-middle attacks, since someone could just use any self-signed certificate to impersonate your server.