title: Provided certificate is not a valid self signed. Please provide either a valid self-signed certificate or certificate chain
body: <p>I receive this error when I try to import a certificate on AWS ACM.</p>
  
  <blockquote>
    <p>Provided certificate is not a valid self signed. Please provide either a valid self-signed certificate or certificate chain.</p>
  </blockquote>
  
  <p>The certificated I have are initially in <strong>.pfx</strong> format and I use <strong>sslshopper</strong>: <a href="https://www.sslshopper.com/ssl-converter.html" rel="noreferrer">https://www.sslshopper.com/ssl-converter.html</a> to convert them into pem. There is only <strong>certificate body</strong> and <strong>private key</strong> present in the converted pem format and no <strong>certficate chain</strong>. Can this be the reason of this error. 
  But I thought cert chain is optional .</p>
  
  <p>The format of private key and cert body seems to be correct and is enclosed between </p>
  
  <pre><code>---Begin cert body/privateKey
  ---End cert body/privateKey
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/oNkva.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/oNkva.jpg" alt="error"></a></p>
  
  <p>What can be the issue here ?</p>
  
  <p>The cert body and the cert private key seems to be ok to me as it clearly shows me the name,expiry date etc once I paste the contents into the respective fields (please refer the green content in the attached screenshot.)</p>