<div dir="ltr">a root cert is the self signed cert.<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 3, 2018 at 2:50 AM, morthalan <span dir="ltr"><<a href="mailto:morthalaanilreddy@gmail.com" target="_blank">morthalaanilreddy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">But In my case, I do not have any root certificate. I have only one signed<br>
certificate (SignedCertificate.pem) and one certificate signing request<br>
(certReq.pem) . So when I use it as below<br>
<br>
openssl verify -CAfile SignedCertificate.pem SignedCertificate.pem<br>
<br>
I am getting errorĀ  "error 20 at 0 depth lookup:unable to get local issuer<br>
certificate".<br>
I believe it is for verifying certificate chain trust. Correct me if I am<br>
wrong. Is there anyway to manipulate it?<br>
<br>
<br>
Richard Levitte - VMS Whacker-2 wrote<br>
<span class="im HOEnZb">> openssl verify -CAfile your_ca_cert.pem SignedCertificate.pem<br>
> <br>
> Hope that helped<br>
> <br>
> Cheers,<br>
> Richard<br>
> <br>
</span><span class="im HOEnZb">> openssl-users mailing list<br>
> To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users" rel="noreferrer" target="_blank">https://mta.openssl.org/<wbr>mailman/listinfo/openssl-users</a><br>
<br>
<br>
<br>
<br>
<br>
</span><span class="im HOEnZb">--<br>
Sent from: <a href="http://openssl.6102.n7.nabble.com/OpenSSL-User-f3.html" rel="noreferrer" target="_blank">http://openssl.6102.n7.nabble.<wbr>com/OpenSSL-User-f3.html</a><br>
</span><div class="HOEnZb"><div class="h5">-- <br>
openssl-users mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users" rel="noreferrer" target="_blank">https://mta.openssl.org/<wbr>mailman/listinfo/openssl-users</a><br>
</div></div></blockquote></div><br></div>