fuadhamidov
Programmer
hi
i have problem with ssl.
i get data from bank.
bank web site ( https:// ) use certificate.
my code is bellow
URL urlBank = new URL(strUrl);
System.out.println("1"
;
URLConnection uc = urlBank.openConnection();
System.out.println("2"
;
HttpsURLConnection httpConnection = (HttpsURLConnection)uc;
System.out.println("3"
;
BufferedReader in = new BufferedReader(new InputStreamReader(httpConnection.getInputStream()));
System.out.println("4"
;
it prints 3, then catch exception.
I have installed .cer to my IE
i have problem with ssl.
i get data from bank.
bank web site ( https:// ) use certificate.
my code is bellow
URL urlBank = new URL(strUrl);
System.out.println("1"
URLConnection uc = urlBank.openConnection();
System.out.println("2"
HttpsURLConnection httpConnection = (HttpsURLConnection)uc;
System.out.println("3"
BufferedReader in = new BufferedReader(new InputStreamReader(httpConnection.getInputStream()));
System.out.println("4"
it prints 3, then catch exception.
I have installed .cer to my IE