Using curl -with --cert
<p>I'm using cUrl to request data from a corporate website site using a .cer certificate that they sent me.
This is the command:</p>

<pre><code>cUrl --header "Content-Type: text/xml;charset=UTF-8" \
     --data @bustaRequestISEE2015ConsultazioneAttestazione.xml \
     -o bustaResponseISEE2015ConsultazioneAttestazione.xml \
     --cert ./caaffabisrl.cer \
     https://istitutonazionaleprevidenzasociale.spcoop.gov.it/PD
</code></pre>

<p>When I run it, I get this error message:</p>

<blockquote>
  <p>curl: (58) could not load PEM client certificate, OpenSSL error error:0906D06C:PEM routines:PEM_read_bio:no start line, (no key found, wrong pass phrase, or wro
  ng file format?)</p>
</blockquote>

<p>Is there anybody who can help me?</p>

<p>Tks, Cristiano.</p>