I want to send something.crt with HttpURLConnection.
It always says something like:
javax.net.ssl.SSLException: Received fatal alert: unexpected_message
String requestURL = "https://some.thing.com:5874/SomeService/OperationsEndpoint1";
HttpsURLConnection connection = (HttpsURLConnection) new
URL(requestURL).openConnection();
connection.setRequestMethod("POST");
String httpCode = connection.getResponseCode();
String responseMessage = connection.getResponseMessage();