title: openssl .p12 cert only has one of the concatenated .pem cert info
body: <p>I have two .p12 certs that I converted into .pem files using this command:</p>
  
  <p><code>openssl pkcs12 -in cert1.p12 -out cert1.pem -nodes</code></p>
  
  <p><code>openssl pkcs12 -in cert2.p12 -out cert2.pem -nodes</code></p>
  
  <p>Then I catenated the two .pem files into one .pem file:</p>
  
  <p><code>cat cert1.pem cert2.pem &gt; combo.pem</code></p>
  
  <p>Then I converted the <code>combo.pem</code> into a .p12 cert:</p>
  
  <p><code>openssl pkcs12 -export -in combo.pem -out combo.p12</code></p>
  
  <p>But when I went to check the contents of the <code>combo.p12</code> cert, it only had the information for cert1.pem:</p>
  
  <p><code>keytool -v -list -keystore combo.p12</code></p>
  
  <p>I want the <code>combo.p12</code> cert to have both .pem cert information. What am I doing wrong?</p>