<div dir="auto">If you need multiple certificates in a single DER structure, you're looking for something to create a "PKIpath". I've never heard of curl requiring such, though.  Chances are it will handle the PEM chain just fine.<div dir="auto"><br></div><div dir="auto">What curl command line are you trying to use?<br><div dir="auto"><br></div><div dir="auto">-Kyle H</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 21, 2020, 18:00 paul h. roubekas <<a href="mailto:paul@roubekas.org" target="_blank" rel="noreferrer">paul@roubekas.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal">I am a complete newbie to this list.<u></u><u></u></p><p class="MsoNormal">I wanted to search the archive but found no such page.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I have a requirement to convert all certs in a *.p12 file to a *.der file for use in the curl command.<u></u><u></u></p><p class="MsoNormal">The first hop to a *.pem file has all the certs.<u></u><u></u></p><p class="MsoNormal">But the second hop only has one cert.  The I read the docs but found nothing that looked even close.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Hop 1<u></u><u></u></p><p class="MsoNormal">openssl pkcs12 -chain -in trust.p12 -out ww_temp.pem  -password <span style="color:#7f7f7f">{<i>redacted</i>}</span><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Hop 2<u></u><u></u></p><p class="MsoNormal">openssl x509 -outform der -in ww_temp.pem -out ww_temp.der<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The Question) How do I get all the certs in the .der file?<u></u><u></u></p></div></div></blockquote></div>