title: Certificate chain not found for: <alias>. Can I recover it?
body: <p>I'm developing a Cordova app for IOS and Android,</p>
  
  <p>After a year, I made some changes and I want to update the app.</p>
  
  <p>The problem begins when I need to sign the android's .apk,</p>
  
  <p>I lost my <code>.keystore</code>, found it and included in the project dir ( different computer )</p>
  
  <pre><code>jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore android-release-unsigned.keystore platforms/android/build/outputs/apk/android-release-unsigned.apk appName
  </code></pre>
  
  <p>This returns:</p>
  
  <blockquote>
    <p>jarsigner: Certificate chain not found for: appName.  appName must
    reference a valid KeyStore key entry containing a private key and
    corresponding public key certificate chain.</p>
  </blockquote>
  
  <p>what causes might be? it's not the right .keystore or the right alias? I'm missing some other file? (Can I restore from the original computer, somehow?)</p>
  
  <p>I'm trying to prevent to have to submit a different app...</p>