title: java version "1.7.0_171" to support ciphersuite TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
body: <p>I am using java version</p>
  
  <pre><code>java version "1.7.0_171"
  OpenJDK Runtime Environment (amzn-2.6.13.0.76.amzn1-x86_64 u171-b01)
  OpenJDK 64-Bit Server VM (build 24.171-b01, mixed mode)
  </code></pre>
  
  <p>when i try to call a <code>HTTPS</code> webservice I got <code>exception</code></p>
  
  <pre><code>java.lang.IllegalArgumentException: Unsupported ciphersuite TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
      at sun.security.ssl.CipherSuite.valueOf(CipherSuite.java:235)
      at sun.security.ssl.CipherSuiteList.&lt;init&gt;(CipherSuiteList.java:82)
      at sun.security.ssl.SSLSocketImpl.setEnabledCipherSuites(SSLSocketImpl.java:2413)
      at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:384)
      at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353)
      at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)
  </code></pre>
  
  <p>the server ssl connection using <code>TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384</code></p>
  
  <p>this is the server information</p>
  
  <pre><code>* TCP_NODELAY set
  * Connected to api..... (1xx.2xx.1xx.1xx) port 443 (#0)
  * Initializing NSS with certpath: sql:/etc/pki/nssdb
  *   CAfile: /etc/pki/tls/certs/ca-bundle.crt
    CApath: none
  * ALPN, server accepted to use http/1.1
  * SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  * Server certificate:
  *   subject: CN=api.....
  *   start date: Apr 27 09:29:11 2018 GMT
  *   expire date: Jul 26 09:29:11 2018 GMT
  *   common name: api.server1.ih.testenv.io
  *   issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
  &gt; GET / HTTP/1.1
  &gt; Host: api.server1.ih.testenv.io
  &gt; User-Agent: curl/7.53.1
  &gt; Accept: */*
  &gt; 
  &lt; HTTP/1.1 404 Not Found
  &lt; Server: nginx/1.10.3 (Ubuntu)
  &lt; Date: Thu, 03 May 2018 08:43:05 GMT
  &lt; Content-Type: application/json; charset=utf-8
  &lt; Content-Length: 39
  &lt; Connection: keep-alive
  &lt; cache-control: max-age=0, private, must-revalidate
  &lt; x-request-id: 2klhbq0t5ahtlndlmc0003k2
  </code></pre>
  
  <p>how can i support this ciphersuite ?</p>
  
  <p>EDIT: I cannot upgrade to java 8</p>