Hi everyone 
Im trying to get some data in JSON format using REST API of my company's Jira (ver. 6.4.13). This is for my Java application.
I can normally get needed data using browser, but got exception when trying to do this via Java program.
Getting exceprion: "javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name" at last line of next code:
//url in String
String urlString = "https://jira.***/rest/api/2/search?jql=project=***&fields=key";
//building http connection
URL url = new URL(urlString);
//open connection
HttpURLConnection urlConnection = (HttpURLConnection)url.openConnection();
//set request method "GET"
urlConnection.setRequestMethod("GET");
//connect
urlConnection.connect();
Can anyone help me to break through this issue? I will thank you 