Coupang does not support TLS v1.0, v1.1 due to security risks.
Therefore, if you receive the following error message when calling openapi, you need to upgrade the TLS version.
javax.net.ssl.SSLException: Received fatal alert: protocol_version
Java
Default protocol version by java version
Java Version | SSL/TLS Default | Other Supported Versions |
---|---|---|
Java 6 | TLS 1.0 | TLS 1.1 (update 111 and later), SSLv3.0* |
Java 7 | TLS 1.0 | TLS 1.2, TLS 1.1, SSLv3.0* |
Java 8 | TLS 1.2 | TLS 1.1, TLS 1.0, SSLv3.0* |
* SSLv3 support disabled in January, 2015 patch releases
※ Reference :
https://www.baeldung.com/java-7-tls-v12
http://www.ateam-oracle.com/tls-and-java/
Therefore, if you are using java 6, you must upgrade to java 7 or higher.
Application Server setting
Restart after adding the following command to the JAVA HOME directory setting in the server startup options or the location where the -D option is set.
-Dhttps.protocols=TLSv1.2 -Djdk.tls.client.protocols=TLSv1.2