I want to send https request to the site https://10.2.20.20/fido/EzPay/login.php my own server and get response from it and save it for example in a string
Have you tried to open the page with a browser ? If its not opening your Configuration is wrong.
Note if your using a Self-Signed-Certificate you may get some connection problems. Some Android Kernel Versions (prior to 2.6.32.9) dont like Self-Singed-Certificates.