title: Payara 5 HTTPS extremely slow
body: <p>I've met a really strange case:</p>
  
  <p>Before migrating to Payara 5.182, I use Payara 4.1.181, and the http/https requests are all very fast. Things go strange when I migrate to Payara 5.182, http requests are working just fine, but the https requests are extremely slow.</p>
  
  <p>Here's the information:</p>
  
  <ul>
  <li>the application that deployed to Payara 5.182 / Payara 4.1.181 is the same version</li>
  <li>configure the keystore.jks and cacerts.jks in Payara 5.182 just the same way as Payara 4.1.181:
  
  <ul>
  <li><code>keytool -importkeystore -destkeystore keystore.jks -srckeystore 3MEdu.p12 -srcstoretype PKCS12 -alias 3medu_cert</code></li>
  <li><code>keytool -importkeystore -destkeystore cacerts.jks -srckeystore 3MEdu.p12 -srcstoretype PKCS12 -alias 3medu_cert</code></li>
  </ul></li>
  <li>the 3MEdu.p12 is the same file as used in Payara 4.1.181 </li>
  <li>use 80 port for http request and 443 port for https request</li>
  <li>JDK version: Oracle JDK 8u161</li>
  <li>OS verison: Ubuntu 16.04.4 LTS</li>
  </ul>