title: HTTPS Connection to Worklight Server 6.2
body: <p>I have developed a app using worklight 6.2 targeting android and iOS, which should connect to the worklight server when the app starts. I did the following procedure.</p>
  
  <ol>
  <li>Developed an app in WL6.2</li>
  <li>Enabled the connectOnStartup parameter as true.</li>
  <li>Added android environment</li>
  <li>Run the app on worklight development server.</li>
  <li>Now opened the worklight console using <code>https://ip:10080/worklightconsole</code>, the app is working fine.</li>
  <li>Since i need https connection, i opened the worklight console as, <code>https://ip:10043/worklightconsole</code>. The console successfully opened and working fine.</li>
  <li>Now i am deployed the app on android emulator, and trying to connect the worklight server with http connection. The app can able to connect with worklight server.</li>
  <li>If the app is trying to connect to the worklight server with https, it is throwing the following error.</li>
  </ol>
  
  <blockquote>
    <p>Error: The application failed connecting to the service.</p>
  </blockquote>
  
  <p>The logcat is <a href="http://stashbox.org/1554573/log.txt" rel="nofollow">here</a></p>