Post

Replies

Boosts

Views

Activity

Reply to Visit https://sandbox.itunes.apple.com/verifyReceipt failed
Below is the code snippet to fix the issue within my legacy JAVA (1.7) server, using raw HttpsURLConnection object SSLContext ssl = SSLContext.getInstance("TLSv1.2"); ssl.init(null, null, new SecureRandom()); sslSocketFactory = ssl.getSocketFactory(); HttpsURLConnection con = (HttpsURLConnection) dataUrl.openConnection(); con.setSSLSocketFactory(sslSocketFactory); con.setRequestMethod("POST"); con.setRequestProperty("content-type", "text/json"); con.setRequestProperty("Proxy-Connection", "Keep-Alive");
Mar ’24