[ Please reply to the specific message, not to a list digest. ] On Tue, Mar 07, 2023 at 08:17:57PM +0000, Ma Zhenhua wrote: > I've attached the cert in DER format. Thanks. The certificate looks perfectly ordinary, are there any corresponding certificates (same subject DN in your CAfile or CApath)? Perhaps you're inadvertently freeing the public key which belongs to the certificate object. -- Viktor.