title: OpenSSL trusted certificate error
body: <p>Trying to create an AS2 EDI connection with a signed MDN using the PHP AS2Secure library running on Ubuntu 14.04.</p>
  
  <p>When the app issues this command:</p>
  
  <pre><code>openssl smime  -encrypt -in '/tmp/as2file_ipLjR3' -out '/tmp/as2file_j2HDRa' -des3 '/home/server/app/as2secure/partners/sourcingco/SourcingCoAS2.cer'
  </code></pre>
  
  <p>It produces this error:</p>
  
  <pre><code>unable to load certificate
  140035455448736:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:703:Expecting: TRUSTED CERTIFICATE
  </code></pre>
  
  <p>Any ideas where I'm getting this wrong?</p>