title: Importing self-signed cert into Docker's JRE cacert is not recognized by the service
body: <ul>
  <li>A Java Service is running inside the Docker container, which access the external HTTPS url and its self-sign certificate is unavailable to the service/ JRE cacert keystore and therefore connection fails.</li>
  <li>Hence imported the self-signed certificate of HTTPS external URL into Docker container's JRE cacert keystore. (after checking the <code>$JAVA_HOME</code> env. variable)</li>
  <li>Restarted the Docker container (using <code>docker restart</code> command), hoping that the service is also get restarted and pick the changes from JRE cacert. But this didn't happen, the Java service still fails to access external HTTPS URL.</li>
  </ul>
  
  <p>Any idea how a Java service running inside the Docker container pick the JRE cacert changes with new certificate import? </p>