title: What does "paired" Certificate & Key look like in a keystore?
body: <p>I got a pkcs12 file and a crt file which I have imported into a keystore. But I am not sure the keystore "knows" they are paired. (I am only assuming it actually needs to know.)</p>
  
  <p>keystore -list:</p>
  
  <pre><code>Keystore type: BKS
  Keystore provider: BC
  Your keystore contains 2 entries
  my_cert, , trustedCertEntry,
  Certificate fingerprint (SHA1): ...
  my_key, , PrivateKeyEntry,
  Certificate fingerprint (SHA1): ...
  </code></pre>
  
  <p>UPDATE: Only now I have noticed they have the same value in "Certificate fingerprint". I suppose that's the trick...?</p>