We have developed a custom OAF page which gets the information from Oracle Cloud application using Rest API call.
The same is working fine from JDeveloper (10.1.3.5.0) with java version 1.6.0_211 from local machine, but after migrating the same code to EBS Application server (Java version 1.7.0), I am getting the below error.
javax.net.ssl.SSLException: Received fatal alert: protocol_version
at com.ibm.jsse2.j.a(j.java:26)
at com.ibm.jsse2.nc.a(nc.java:556)
at com.ibm.jsse2.nc.a(nc.java:221)
at com.ibm.jsse2.nc.j(nc.java:486)
at com.ibm.jsse2.nc.b(nc.java:391)
at com.ibm.jsse2.nc.a(nc.java:110)
at com.ibm.jsse2.nc.unwrap(nc.java:293)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:34)
In the AMimpl, I have used the "HttpURLConnection.setRequestProperty("https.protocols", "TLSv1.2");" which is working in in Jdeveloper (local machine), but the same is not working once we deployed the code in EBS server. Kindly help to resolve this issue.