<div dir="ltr"><blockquote style="margin:0 0 0 40px;border:none;padding:0px"></blockquote><span style="color:rgb(0,0,0);font-family:arial,sans-serif">Hi, </span><br><font color="#000000" face="arial, sans-serif"><span style="caret-color: rgb(0, 0, 0);"><br></span></font><span style="color:rgb(0,0,0);font-family:arial,sans-serif">I'm using pyOpenSSL 19.0.0 which uses OpenSSL 1.1.1.</span><br><font color="#000000" face="arial, sans-serif"><span style="caret-color: rgb(0, 0, 0);"><br></span></font><span style="font-family:arial,sans-serif;color:rgb(0,0,0)">For my usecase, I wa</span><span style="font-family:arial,sans-serif;color:rgb(0,0,0)">nt to use </span><span style="font-family:arial,sans-serif;margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline;background-color:rgb(248,248,248)">X509_V_FLAG_PARTIAL_CHAIN flag documented in </span><a href="https://www.openssl.org/docs/man1.1.1/man3/X509_VERIFY_PARAM_set_flags.html" style="font-family:arial,sans-serif">https://www.openssl.org/docs/man1.1.1/man3/X509_VERIFY_PARAM_set_flags.html</a><font color="#000000" face="arial, sans-serif"><span style="caret-color: rgb(0, 0, 0);"> .</span></font><br><span style="font-family:arial,sans-serif">Seems like X509StoreFlags constants in pyOpenSSL has no support for the partial_chain verify flag  </span><a href="https://www.pyopenssl.org/en/stable/api/crypto.html#x509storeflags-constants" style="font-family:arial,sans-serif">https://www.pyopenssl.org/en/stable/api/crypto.html#x509storeflags-constants</a> .<br><div><div></div><div><br></div>Please suggest an alternate way to make this work.<br></div><div><br></div><div>Best Regards,</div><div>Midhila</div></div>