title: InitialisationException: KeyStore must be configured for server side SSL in Mule Esb
body: <p>Trying to send https request in mule .</p>
  
  <p>I generated keystore.jks for server  and truststore.ts for client , I put them in the resource folder as in the below Image :</p>
  
  <p><a href="https://i.stack.imgur.com/ciH8S.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ciH8S.png" alt="security-conf"></a></p>
  
  <p>here is mule flow :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  &lt;mule xmlns:tls="http://www.mulesoft.org/schema/mule/tls" xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns:tracking="http://www.mulesoft.org/schema/mule/ee/tracking" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation"
      xmlns:spring="http://www.springframework.org/schema/beans" 
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd
  http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd
  http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd
  http://www.mulesoft.org/schema/mule/ee/tracking http://www.mulesoft.org/schema/mule/ee/tracking/current/mule-tracking-ee.xsd
  http://www.mulesoft.org/schema/mule/tls http://www.mulesoft.org/schema/mule/tls/current/mule-tls.xsd"&gt;
      &lt;http:listener-config name="HTTPS_8082_OneWaySSL" host="localhost" port="8044" doc:name="HTTP Listener Configuration" protocol="HTTPS"&gt;
          &lt;tls:context&gt;
              &lt;tls:key-store type="jks" path="keystore.jks" alias="pcl123" keyPassword="pcl123" password="pcl123"/&gt;
          &lt;/tls:context&gt;
      &lt;/http:listener-config&gt;
      &lt;http:request-config name="HTTPS_Request_Configuration" protocol="HTTPS" host="localhost" port="8044" doc:name="HTTP Request Configuration"&gt;
          &lt;tls:context&gt;
              &lt;tls:trust-store path="truststore.ts" password="pcl123" type="jks" insecure="true"/&gt;
          &lt;/tls:context&gt;
      &lt;/http:request-config&gt;
      &lt;http:listener-config name="HTTP_8083" host="localhost" port="8045" doc:name="HTTP Listener Configuration"/&gt;
  
      &lt;http:listener-config name="HTTP_8081" host="localhost" port="8041" doc:name="HTTP Listener Configuration"/&gt;
  
      &lt;flow name="HTTPS_Client_OneWaySSL"&gt;
          &lt;http:listener  config-ref="HTTP_8081" path="/app/*" doc:name="HTTP"/&gt;
          &lt;logger level="INFO" doc:name="Logger"/&gt;
          &lt;http:request config-ref="HTTPS_Request_Configuration" path="/server/*" method="GET" doc:name="Call HTTPS server"/&gt;
          &lt;set-payload value="#[payload]" doc:name="Set Payload"/&gt;
      &lt;/flow&gt;
  
      &lt;flow name="HTTPS_Server_OneWaySSL"&gt;
          &lt;http:listener config-ref="HTTPS_8082_OneWaySSL" path="/server/*" doc:name="HTTPS"/&gt;
          &lt;logger level="INFO" doc:name="Logger"/&gt;
          &lt;set-payload value="#['Hey there. You have accessed HTTPS service']" doc:name="Set Payload"/&gt;
      &lt;/flow&gt;
  
  &lt;/mule&gt;
  </code></pre>
  
  <p>I built the  mule project successfully but it failed in deployment as below :</p>
  
  <blockquote>
    <p>org.mule.module.launcher.DeploymentInitException:
    InitialisationException: KeyStore must be configured for server side
    SSL</p>
  </blockquote>